xfs: devirtualize ->sf_get_ftype and ->sf_put_ftype
Replace the ->sf_get_ftype and ->sf_put_ftype dir ops methods with directly called xfs_dir2_sf_get_ftype and xfs_dir2_sf_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, 52 deletionsfs/xfs/libxfs/xfs_da_format.c
- fs/xfs/libxfs/xfs_dir2.h 0 additions, 4 deletionsfs/xfs/libxfs/xfs_dir2.h
- fs/xfs/libxfs/xfs_dir2_block.c 1 addition, 1 deletionfs/xfs/libxfs/xfs_dir2_block.c
- fs/xfs/libxfs/xfs_dir2_priv.h 2 additions, 0 deletionsfs/xfs/libxfs/xfs_dir2_priv.h
- fs/xfs/libxfs/xfs_dir2_sf.c 46 additions, 14 deletionsfs/xfs/libxfs/xfs_dir2_sf.c
- fs/xfs/xfs_dir2_readdir.c 1 addition, 1 deletionfs/xfs/xfs_dir2_readdir.c
Please register or sign in to comment