Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254044
b: refs/heads/master
c: fa18f1b
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jun 24, 2011
1 parent 8102e3d commit 4dc4762
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee01a14d9ddcf3f832f9ceb837888501cb496e27
refs/heads/master: fa18f1bdce898f0efd0c8639c901d826d01be04f
11 changes: 4 additions & 7 deletions trunk/fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -710,19 +710,16 @@ cifs_do_mount(struct file_system_type *fs_type,

sb->s_flags |= MS_ACTIVE;

out_shared:
root = cifs_get_root(volume_info, sb);
if (root == NULL)
if (root == NULL) {
root = ERR_PTR(-EINVAL); /* XXX */
goto out_super;
}

cFYI(1, "dentry root is: %p", root);
goto out;

out_shared:
root = cifs_get_root(volume_info, sb);
if (root)
cFYI(1, "dentry root is: %p", root);
goto out;

out_super:
deactivate_locked_super(sb);
out:
Expand Down

0 comments on commit 4dc4762

Please sign in to comment.