xfs: don't create a slab cache for filestream items

We only have very few of these around, and allocation isn't that
much of a hot path.  Remove the slab cache to simplify the code,
and to not waste any resources for the usual case of not having
any inodes that use the filestream allocator.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Christoph Hellwig
2014-04-23 07:11:51 +10:00
committed by Dave Chinner
parent 2cd2ef6a30
commit 1919adda07
3 changed files with 4 additions and 32 deletions
-2
View File
@@ -22,8 +22,6 @@ struct xfs_mount;
struct xfs_inode;
struct xfs_bmalloca;
int xfs_filestream_init(void);
void xfs_filestream_uninit(void);
int xfs_filestream_mount(struct xfs_mount *mp);
void xfs_filestream_unmount(struct xfs_mount *mp);
void xfs_filestream_deassociate(struct xfs_inode *ip);