summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-11-05 11:57:58 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2020-12-07 11:50:46 -0500
commitd983a32e7902da73c52e80b5dda4bc14d16415ae (patch)
tree4159d4364b90f14c8f4a1cf809acf25535a0a80e /fs/cifs/cifsfs.c
parent492f2208a8a1788569f67142cab50cc9e13be5ee (diff)
switch inodes to rhashtableinode_work
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 0fb99d25e8a8..0945cc7f324b 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -202,6 +202,9 @@ cifs_read_super(struct super_block *sb)
sb->s_magic = CIFS_MAGIC_NUMBER;
sb->s_op = &cifs_super_ops;
sb->s_xattr = cifs_xattr_handlers;
+ rc = super_setup_inode_table(sb, &cifs_inode_table_params);
+ if (rc)
+ goto out_no_root;
rc = super_setup_bdi(sb);
if (rc)
goto out_no_root;