Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292324
b: refs/heads/master
c: f56b0fb
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Mar 21, 2012
1 parent 2524915 commit 87a9c77
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: 064326c0773af8a0e8bb82d895cceaedc8a51b9e
refs/heads/master: f56b0fbc6477e50303a503ee1453ed94e20f154a
5 changes: 1 addition & 4 deletions trunk/fs/coda/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,23 +208,20 @@ static int coda_fill_super(struct super_block *sb, void *data, int silent)
if (IS_ERR(root)) {
error = PTR_ERR(root);
printk("Failure of coda_cnode_make for root: error %d\n", error);
root = NULL;
goto error;
}

printk("coda_read_super: rootinode is %ld dev %s\n",
root->i_ino, root->i_sb->s_id);
sb->s_root = d_alloc_root(root);
if (!sb->s_root) {
iput(root);
error = -EINVAL;
goto error;
}
return 0;

error:
if (root)
iput(root);

mutex_lock(&vc->vc_mutex);
bdi_destroy(&vc->bdi);
vc->vc_sb = NULL;
Expand Down

0 comments on commit 87a9c77

Please sign in to comment.