diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-10-08 12:20:12 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-10-08 16:34:49 +0000 |
commit | 0dd12c21951e085357046b68c3a108273062d2aa (patch) | |
tree | be512113fd0282dc82a9cdd7c7626dc2e7cb28d7 /fs/cifs | |
parent | 6ea75952d7c671ea8b0d7b66f82afcafbb5d20c2 (diff) | |
download | linux-3.10-0dd12c21951e085357046b68c3a108273062d2aa.tar.gz linux-3.10-0dd12c21951e085357046b68c3a108273062d2aa.tar.bz2 linux-3.10-0dd12c21951e085357046b68c3a108273062d2aa.zip |
cifs: initialize tlink_tree_lock and tlink_tree
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
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 c96345c3314..3258c822328 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -98,6 +98,9 @@ cifs_read_super(struct super_block *sb, void *data, if (cifs_sb == NULL) return -ENOMEM; + spin_lock_init(&cifs_sb->tlink_tree_lock); + INIT_RADIX_TREE(&cifs_sb->tlink_tree, GFP_KERNEL); + rc = bdi_setup_and_register(&cifs_sb->bdi, "cifs", BDI_CAP_MAP_COPY); if (rc) { kfree(cifs_sb); |