]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: devirtualize ->leaf_hdr_from_disk
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jan 2020 16:29:41 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:41 +0000 (11:29 -0500)
commit9db68fafac8d977c5229e5cd4929cf65802a7c03
treeedba71dc00e394b3dedc0287bb57068fadcd1bc8
parent52be9b6aafbb26a38219808817f7b7f194bc8187
xfs: devirtualize ->leaf_hdr_from_disk

Source kernel commit: 518425560a8b6ec7516505846c1b79623b467148

Replace the ->leaf_hdr_from_disk dir ops method with a directly called
xfs_dir2_leaf_hdr_from_disk helper that takes care of the differences
between the v4 and v5 on-disk format.

Signed-off-by: Christoph Hellwig <hch@lst.de>
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>
12 files changed:
db/btdump.c
db/metadump.c
libxfs/libxfs_api_defs.h
libxfs/xfs_da_btree.c
libxfs/xfs_da_format.c
libxfs/xfs_dir2.h
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_dir2_priv.h
repair/dir2.c
repair/phase6.c