]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: devirtualize ->data_entry_tag_p
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jan 2020 16:29:43 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:43 +0000 (11:29 -0500)
commit823711f2229d0b54f60a665b7821a776ee2f2032
tree5feecabf3cada6d920f2e530c3a5369c9f7395d7
parent271a654f404d6621730c144b9b5281222814784f
xfs: devirtualize ->data_entry_tag_p

Source kernel commit: 7e8ae7bd1c5d806316e6b6403ac2dd0be7a1f82b

Replace the ->data_entry_tag_p dir ops method with a directly called
xfs_dir2_data_entry_tag_p helper that takes care of the differences
between the directory format with and without the file type field.

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>
13 files changed:
db/check.c
db/dir2.c
db/metadump.c
libxfs/libxfs_api_defs.h
libxfs/xfs_da_format.c
libxfs/xfs_dir2.h
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_data.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_dir2_priv.h
repair/dir2.c
repair/phase6.c