diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-08 15:02:38 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-10 16:54:21 -0800 |
commit | 50f6bb6b7aea8177110e55355c455f18912a7a73 (patch) | |
tree | 240846bba00aa22123a5f4df0390c8b49af22e20 /fs/xfs/libxfs/xfs_dir2.h | |
parent | 84915e1bdddf9de3edf79a2813982b886e76658f (diff) | |
download | linux-stable-50f6bb6b7aea8177110e55355c455f18912a7a73.tar.gz linux-stable-50f6bb6b7aea8177110e55355c455f18912a7a73.tar.bz2 linux-stable-50f6bb6b7aea8177110e55355c455f18912a7a73.zip |
xfs: devirtualize ->sf_entsize and ->sf_nextentry
Just check for file-type enabled directories directly.
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_dir2.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2.h b/fs/xfs/libxfs/xfs_dir2.h index d3a0b8daab5f..c99f0ad6607a 100644 --- a/fs/xfs/libxfs/xfs_dir2.h +++ b/fs/xfs/libxfs/xfs_dir2.h @@ -32,10 +32,6 @@ extern unsigned char xfs_mode_to_ftype(int mode); * directory operations vector for encode/decode routines */ struct xfs_dir_ops { - int (*sf_entsize)(struct xfs_dir2_sf_hdr *hdr, int len); - struct xfs_dir2_sf_entry * - (*sf_nextentry)(struct xfs_dir2_sf_hdr *hdr, - struct xfs_dir2_sf_entry *sfep); uint8_t (*sf_get_ftype)(struct xfs_dir2_sf_entry *sfep); void (*sf_put_ftype)(struct xfs_dir2_sf_entry *sfep, uint8_t ftype); |