diff --git a/[refs] b/[refs] index 09a7185d9f83..c4d56d7224e3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4c1b6d18bf2fdeb5ac725126c6928aaa98c8e22f +refs/heads/master: d6ddf55440833fd9404138026af246c51ebeef22 diff --git a/trunk/fs/hfs/super.c b/trunk/fs/hfs/super.c index d43b4fcc8ad3..85b17b3fa4a0 100644 --- a/trunk/fs/hfs/super.c +++ b/trunk/fs/hfs/super.c @@ -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;