Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xfs: kill XFS_BTREE_MAXLEVELS

Nobody uses this symbol anymore, so kill it.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>

-2
-2
fs/xfs/libxfs/xfs_btree.h
··· 92 92 #define XFS_BTREE_STATS_ADD(cur, stat, val) \ 93 93 XFS_STATS_ADD_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat, val) 94 94 95 - #define XFS_BTREE_MAXLEVELS 9 /* max of all btrees */ 96 - 97 95 /* 98 96 * The btree cursor zone hands out cursors that can handle up to this many 99 97 * levels. This is the known maximum for all btree types.