aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/direct.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/direct.c')
-rw-r--r--fs/nfs/direct.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c
index 751f5b5e7e07..4ae2f3b33fef 100644
--- a/fs/nfs/direct.c
+++ b/fs/nfs/direct.c
@@ -781,7 +781,8 @@ int nfs_init_directcache(void)
781{ 781{
782 nfs_direct_cachep = kmem_cache_create("nfs_direct_cache", 782 nfs_direct_cachep = kmem_cache_create("nfs_direct_cache",
783 sizeof(struct nfs_direct_req), 783 sizeof(struct nfs_direct_req),
784 0, SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, 784 0, (SLAB_RECLAIM_ACCOUNT|
785 SLAB_MEM_SPREAD),
785 NULL, NULL); 786 NULL, NULL);
786 if (nfs_direct_cachep == NULL) 787 if (nfs_direct_cachep == NULL)
787 return -ENOMEM; 788 return -ENOMEM;