Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40944
b: refs/heads/master
c: d6ddf55
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sandeen authored and Linus Torvalds committed Nov 16, 2006
1 parent 6c0fd69 commit 8b487b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c1b6d18bf2fdeb5ac725126c6928aaa98c8e22f
refs/heads/master: d6ddf55440833fd9404138026af246c51ebeef22
2 changes: 2 additions & 0 deletions trunk/fs/hfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,13 @@ static int hfs_fill_super(struct super_block *sb, void *data, int silent)
hfs_find_exit(&fd);
goto bail_no_root;
}
res = -EINVAL;
root_inode = hfs_iget(sb, &fd.search_key->cat, &rec);
hfs_find_exit(&fd);
if (!root_inode)
goto bail_no_root;

res = -ENOMEM;
sb->s_root = d_alloc_root(root_inode);
if (!sb->s_root)
goto bail_iput;
Expand Down

0 comments on commit 8b487b1

Please sign in to comment.