Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292323
b: refs/heads/master
c: 064326c
h: refs/heads/master
i:
  292321: de96e97
  292319: d36f935
v: v3
  • Loading branch information
Al Viro committed Mar 21, 2012
1 parent 098f0c1 commit 2524915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 9bcb4b733c22b7dbc4cf847e707ac98f751e9180
refs/heads/master: 064326c0773af8a0e8bb82d895cceaedc8a51b9e
5 changes: 1 addition & 4 deletions trunk/fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ cifs_read_super(struct super_block *sb)

if (IS_ERR(inode)) {
rc = PTR_ERR(inode);
inode = NULL;
goto out_no_root;
}

sb->s_root = d_alloc_root(inode);

if (!sb->s_root) {
rc = -ENOMEM;
iput(inode);
goto out_no_root;
}

Expand All @@ -147,9 +147,6 @@ cifs_read_super(struct super_block *sb)

out_no_root:
cERROR(1, "cifs_read_super: get root inode failed");
if (inode)
iput(inode);

return rc;
}

Expand Down

0 comments on commit 2524915

Please sign in to comment.