aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2012-04-23 15:58:53 +1000
committerBen Myers <[email protected]>2012-05-14 16:20:49 -0500
commit795cac72e902496adac399389f9affe5d1ab821a (patch)
tree120f20faeb98e4f01a9fa1eb6eab26392b3a5e75 /lib/dynamic_debug.c
parentaa0e8833b05cbd9d34d6a1ddaf23a74a58d76a03 (diff)
xfs: kill xfs_buf_btoc
xfs_buf_btoc and friends are simple macros that do basic block to page index conversion and vice versa. These aren't widely used, and we use open coded masking and shifting everywhere else. Hence remove the macros and open code the work they do. Also, use of PAGE_CACHE_{SIZE|SHIFT|MASK} for these macros is now incorrect - we are using pages directly and not the page cache, so use PAGE_{SIZE|MASK|SHIFT} instead. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Mark Tinguely <[email protected]> Signed-off-by: Ben Myers <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions