]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: convert bp->b_bn references to xfs_buf_daddr()
authorDave Chinner <dchinner@redhat.com>
Thu, 3 Feb 2022 19:58:32 +0000 (14:58 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 3 Feb 2022 19:58:32 +0000 (14:58 -0500)
commitf1208396dd866ed140c993fb03693d45ba47d596
tree72f5b9c815dac76169cc2744b6305695dbb2fc1b
parentd4aaa66b033bb20858dcbac28afae94d11ea187b
xfs: convert bp->b_bn references to xfs_buf_daddr()

Source kernel commit: 9343ee76909e3f6466d85c9ebb0e343cdf54de71

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
19 files changed:
db/metadump.c
libxfs/rdwr.c
libxfs/util.c
libxfs/xfs_ag.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_attr_remote.c
libxfs/xfs_bmap.c
libxfs/xfs_btree.c
libxfs/xfs_da_btree.c
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_data.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_inode_buf.c
libxfs/xfs_sb.c
libxfs/xfs_symlink_remote.c
repair/attr_repair.c
repair/phase6.c
repair/xfs_repair.c