aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub/fscounters.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2021-08-18 18:48:54 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-08-19 10:07:15 -0700
commit4c7f65aea7b7fe66c08f8f7304c1ea3f7a871d5a (patch)
tree5dda7c48ddadd77c1a589daa420bf1d42024e7ca /fs/xfs/scrub/fscounters.c
parentxfs: convert bp->b_bn references to xfs_buf_daddr() (diff)
downloadlinux-dev-4c7f65aea7b7fe66c08f8f7304c1ea3f7a871d5a.tar.xz
linux-dev-4c7f65aea7b7fe66c08f8f7304c1ea3f7a871d5a.zip
xfs: rename buffer cache index variable b_bn
To stop external users from using b_bn as the disk address of the buffer, rename it to b_rhash_key to indicate that it is the buffer cache index, not the block number of the buffer. Code that needs the disk address should use xfs_buf_daddr() to obtain it. Do the rename and clean up any of the remaining internal b_bn users. Also clean up any remaining b_bn cruft that is now unused. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/fscounters.c')
0 files changed, 0 insertions, 0 deletions