xfs: devirtualize ->data_get_ftype and ->data_put_ftype
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>
Showing
- fs/xfs/libxfs/xfs_da_format.c 0 additions, 47 deletionsfs/xfs/libxfs/xfs_da_format.c
- fs/xfs/libxfs/xfs_dir2.h 0 additions, 3 deletionsfs/xfs/libxfs/xfs_dir2.h
- fs/xfs/libxfs/xfs_dir2_block.c 7 additions, 6 deletionsfs/xfs/libxfs/xfs_dir2_block.c
- fs/xfs/libxfs/xfs_dir2_data.c 31 additions, 12 deletionsfs/xfs/libxfs/xfs_dir2_data.c
- fs/xfs/libxfs/xfs_dir2_leaf.c 3 additions, 3 deletionsfs/xfs/libxfs/xfs_dir2_leaf.c
- fs/xfs/libxfs/xfs_dir2_node.c 3 additions, 3 deletionsfs/xfs/libxfs/xfs_dir2_node.c
- fs/xfs/libxfs/xfs_dir2_priv.h 4 additions, 0 deletionsfs/xfs/libxfs/xfs_dir2_priv.h
- fs/xfs/libxfs/xfs_dir2_sf.c 1 addition, 1 deletionfs/xfs/libxfs/xfs_dir2_sf.c
- fs/xfs/xfs_dir2_readdir.c 2 additions, 2 deletionsfs/xfs/xfs_dir2_readdir.c
Please register or sign in to comment