]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: devirtualize ->data_get_ftype and ->data_put_ftype
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)
commit28e6e6140f214b147eff694dc037d2c382a1788c
tree1604b7df89e0accf9948e96430ea2b152f3d5bff
parent04f6f3548055258871f82dd512ab63fc072c74c1
xfs: devirtualize ->data_get_ftype and ->data_put_ftype

Source kernel commit: 59b8b465058ec203493c0436f243263051e08f5a

Replace the ->data_get_ftype and ->data_put_ftype dir ops methods with
directly called xfs_dir2_data_get_ftype and xfs_dir2_data_put_ftype
helpers 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>
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
libxfs/xfs_dir2_sf.c
repair/phase6.c