projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea7595
)
cifs: initialize tlink_tree_lock and tlink_tree
author
Jeff Layton
<jlayton@redhat.com>
Fri, 8 Oct 2010 16:20:12 +0000
(12:20 -0400)
committer
Steve French
<sfrench@us.ibm.com>
Fri, 8 Oct 2010 16:34:49 +0000
(16:34 +0000)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifsfs.c
b/fs/cifs/cifsfs.c
index c96345c3314d5c27cf3b072d429c61c8693c06a6..3258c822328b97a28344406fa1625973b95ffcbe 100644
(file)
--- 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);