Message ID | 1469466572-8939-1-git-send-email-n.borisov.lkml@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 91e02481ce06..a8a6908078ee 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c @@ -672,8 +672,8 @@ static int __init init_caches(void) if (ceph_dentry_cachep == NULL) goto bad_dentry; - ceph_file_cachep = KMEM_CACHE(ceph_file_info, - SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD); + ceph_file_cachep = KMEM_CACHE(ceph_file_info,SLAB_MEM_SPREAD); + if (ceph_file_cachep == NULL) goto bad_file;