Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101185
b: refs/heads/master
c: 6536d28
h: refs/heads/master
i:
  101183: f64d418
v: v3
  • Loading branch information
Dave Kleikamp committed May 21, 2008
1 parent 5581f2b commit ce37081
Show file tree
Hide file tree
Showing 2 changed files with 4 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: b2e03ca7485cac033a0667d9e45e28d32fdee9a5
refs/heads/master: 6536d2891ba2c4e837ba8478dc13bb173ed24a23
7 changes: 3 additions & 4 deletions trunk/fs/jfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent)
inode = jfs_iget(sb, ROOT_I);
if (IS_ERR(inode)) {
ret = PTR_ERR(inode);
goto out_no_root;
goto out_no_rw;
}
sb->s_root = d_alloc_root(inode);
if (!sb->s_root)
Expand All @@ -521,9 +521,8 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent)
return 0;

out_no_root:
jfs_err("jfs_read_super: get root inode failed");
if (inode)
iput(inode);
jfs_err("jfs_read_super: get root dentry failed");
iput(inode);

out_no_rw:
rc = jfs_umount(sb);
Expand Down

0 comments on commit ce37081

Please sign in to comment.