Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185705
b: refs/heads/master
c: fc7bed8
h: refs/heads/master
i:
  185703: cb6d78c
v: v3
  • Loading branch information
Al Viro committed Mar 3, 2010
1 parent 3244fe6 commit 4579cdf
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5b7e934d887c67fe093b61f1308bc2d9c49381ff
refs/heads/master: fc7bed8c802de3b064a56a43ec8574aa8d412de3
9 changes: 2 additions & 7 deletions trunk/net/sunrpc/rpc_pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,19 +999,14 @@ rpc_fill_super(struct super_block *sb, void *data, int silent)
inode = rpc_get_inode(sb, S_IFDIR | 0755);
if (!inode)
return -ENOMEM;
root = d_alloc_root(inode);
sb->s_root = root = d_alloc_root(inode);
if (!root) {
iput(inode);
return -ENOMEM;
}
if (rpc_populate(root, files, RPCAUTH_lockd, RPCAUTH_RootEOF, NULL))
goto out;
sb->s_root = root;
return -ENOMEM;
return 0;
out:
d_genocide(root);
dput(root);
return -ENOMEM;
}

static int
Expand Down

0 comments on commit 4579cdf

Please sign in to comment.