diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index c96345c3314d..3258c822328b 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -98,6 +98,9 @@ cifs_read_super(struct super_block *sb, void *data, | |||
98 | if (cifs_sb == NULL) | 98 | if (cifs_sb == NULL) |
99 | return -ENOMEM; | 99 | return -ENOMEM; |
100 | 100 | ||
101 | spin_lock_init(&cifs_sb->tlink_tree_lock); | ||
102 | INIT_RADIX_TREE(&cifs_sb->tlink_tree, GFP_KERNEL); | ||
103 | |||
101 | rc = bdi_setup_and_register(&cifs_sb->bdi, "cifs", BDI_CAP_MAP_COPY); | 104 | rc = bdi_setup_and_register(&cifs_sb->bdi, "cifs", BDI_CAP_MAP_COPY); |
102 | if (rc) { | 105 | if (rc) { |
103 | kfree(cifs_sb); | 106 | kfree(cifs_sb); |