]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove XFS_BUF_TO_AGF
authorChristoph Hellwig <hch@lst.de>
Fri, 1 May 2020 21:37:08 +0000 (17:37 -0400)
committerEric Sandeen <sandeen@redhat.com>
Fri, 1 May 2020 21:37:08 +0000 (17:37 -0400)
commit0bc284c298247d2fa908f026985e9df99fbb4e1a
tree0ba96e129cfdacb0d920791ad7ec791787ba12ae
parentc99cea5cc350b5fcc534c498630bbe55199b4ee4
xfs: remove XFS_BUF_TO_AGF

Source kernel commit: 9798f615ad2be48466a01c44ad2257ba64ab03bd

Just dereference bp->b_addr directly and make the code a little
simpler and more clear.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/info.c
include/xfs.h
libxfs/xfs_ag.c
libxfs/xfs_alloc.c
libxfs/xfs_alloc_btree.c
libxfs/xfs_format.h
libxfs/xfs_refcount_btree.c
libxfs/xfs_rmap_btree.c
repair/phase5.c
repair/scan.c