diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 61c7aa870f1c..2af14d4577a7 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -172,7 +172,7 @@ out_no_root: | |||
172 | if (inode) | 172 | if (inode) |
173 | iput(inode); | 173 | iput(inode); |
174 | 174 | ||
175 | cifs_umount(sb, cifs_sb); | 175 | cifs_umount(cifs_sb); |
176 | return rc; | 176 | return rc; |
177 | } | 177 | } |
178 | 178 | ||
@@ -189,9 +189,7 @@ cifs_put_super(struct super_block *sb) | |||
189 | return; | 189 | return; |
190 | } | 190 | } |
191 | 191 | ||
192 | rc = cifs_umount(sb, cifs_sb); | 192 | cifs_umount(cifs_sb); |
193 | if (rc) | ||
194 | cERROR(1, "cifs_umount failed with return code %d", rc); | ||
195 | } | 193 | } |
196 | 194 | ||
197 | static void cifs_kill_sb(struct super_block *sb) | 195 | static void cifs_kill_sb(struct super_block *sb) |