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:
796aade
)
[CIFS] if get root inode fails during mount, cleanup tree connection
author
Steve French
<sfrench@us.ibm.com>
Mon, 11 Aug 2008 22:28:53 +0000
(22:28 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Mon, 11 Aug 2008 22:28:53 +0000
(22:28 +0000)
CC: Stable Kernel <stable@kernel.org>
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 e8da4ee761b512af8744c69f3b3361eb9edffef8..f50fc8728c94b68cd9f87b894bdf59ab795f6f53 100644
(file)
--- a/
fs/cifs/cifsfs.c
+++ b/
fs/cifs/cifsfs.c
@@
-174,6
+174,8
@@
out_no_root:
cERROR(1, ("cifs_read_super: get root inode failed"));
if (inode)
iput(inode);
+
+ cifs_umount(sb, cifs_sb);
out_mount_failed:
if (cifs_sb) {