xfs: convert bp->b_bn references to xfs_buf_daddr()
authorDave Chinner <dchinner@redhat.com>
Thu, 19 Aug 2021 01:47:05 +0000 (18:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 19 Aug 2021 17:07:15 +0000 (10:07 -0700)
commit9343ee76909e3f6466d85c9ebb0e343cdf54de71
tree5e457a29d0e5fd884434b9d794cc3f5ae8849a47
parent04fcad80cd068731a779fb442f78234732683755
xfs: convert bp->b_bn references to xfs_buf_daddr()

Stop directly referencing b_bn in code outside the buffer cache, as
b_bn is supposed to be used only as an internal cache index.

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>
21 files changed:
fs/xfs/libxfs/xfs_ag.c
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/libxfs/xfs_attr_remote.c
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_da_btree.c
fs/xfs/libxfs/xfs_dir2_block.c
fs/xfs/libxfs/xfs_dir2_data.c
fs/xfs/libxfs/xfs_dir2_leaf.c
fs/xfs/libxfs/xfs_dir2_node.c
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/libxfs/xfs_sb.c
fs/xfs/libxfs/xfs_symlink_remote.c
fs/xfs/scrub/bitmap.c
fs/xfs/scrub/common.c
fs/xfs/scrub/trace.c
fs/xfs/xfs_attr_inactive.c
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_buf_item_recover.c
fs/xfs/xfs_error.c
fs/xfs/xfs_trace.h