diff options
author | 2019-11-08 15:06:02 -0800 | |
---|---|---|
committer | 2019-11-10 16:54:24 -0800 | |
commit | 957ee13e204a5ffe814139aa89e62eece4b969fd (patch) | |
tree | 0519aec6da3f18e3a4fde5e2a7dd1e838d8d9344 /fs/xfs/libxfs/xfs_dir2.c | |
parent | xfs: devirtualize ->data_get_ftype and ->data_put_ftype (diff) | |
download | linux-957ee13e204a5ffe814139aa89e62eece4b969fd.tar.gz linux-957ee13e204a5ffe814139aa89e62eece4b969fd.tar.bz2 linux-957ee13e204a5ffe814139aa89e62eece4b969fd.zip |
xfs: remove the now unused dir ops infrastructure
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.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_dir2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2.c b/fs/xfs/libxfs/xfs_dir2.c index eccffe7a5ae0..624c05e77ab4 100644 --- a/fs/xfs/libxfs/xfs_dir2.c +++ b/fs/xfs/libxfs/xfs_dir2.c @@ -104,8 +104,6 @@ xfs_da_mount( ASSERT(mp->m_sb.sb_versionnum & XFS_SB_VERSION_DIRV2BIT); ASSERT(xfs_dir2_dirblock_bytes(&mp->m_sb) <= XFS_MAX_BLOCKSIZE); - mp->m_dir_inode_ops = xfs_dir_get_ops(mp, NULL); - mp->m_dir_geo = kmem_zalloc(sizeof(struct xfs_da_geometry), KM_MAYFAIL); mp->m_attr_geo = kmem_zalloc(sizeof(struct xfs_da_geometry), |