Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 158786
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +3 lines)
Line  Link Here
printing eip
printing eip
1
[] selinux_sb_kern_mount+0xc/0x4b
1
[] selinux_sb_kern_mount+0xc/0x4b
2
[] vfs_kern_mount+0x99/0xf6
2
[] vfs_kern_mount+0x99/0xf6
3
[] do_kern_mount+0x2d/0x3e
3
[] do_kern_mount+0x2d/0x3e
4
[] do_mount+0x5fa/0x66d
4
[] do_mount+0x5fa/0x66d
5
[] sys_mount+0x77/0xae
5
[] sys_mount+0x77/0xae
6
[] syscall_call+0x7/0xb
6
[] syscall_call+0x7/0xb
7
 root_inode = hfs_iget(sb, &fd.search_key->cat, &rec);
7
 root_inode = hfs_iget(sb, &fd.search_key->cat, &rec);
8
 sb->s_root = d_alloc_root(root_inode);
8
 sb->s_root = d_alloc_root(root_inode);
9
       struct dentry *root = sb->s_root;
9
       struct dentry *root = sb->s_root;
10
       struct inode *inode = root->d_inode;
10
       struct inode *inode = root->d_inode;
11
--
11
++ b/fs/hfs/super.c
12
-- a/fs/hfs/super.c
Lines 390-400 static int hfs_fill_super(struct super_b Link Here
390
		hfs_find_exit(&fd);
390
		hfs_find_exit(&fd);
391
		goto bail_no_root;
391
		goto bail_no_root;
392
	}
392
	}
393
	res = -EINVAL;
393
	root_inode = hfs_iget(sb, &fd.search_key->cat, &rec);
394
	root_inode = hfs_iget(sb, &fd.search_key->cat, &rec);
394
	hfs_find_exit(&fd);
395
	hfs_find_exit(&fd);
395
	if (!root_inode)
396
	if (!root_inode)
396
		goto bail_no_root;
397
		goto bail_no_root;
397
398
399
	res = -ENOMEM;
398
	sb->s_root = d_alloc_root(root_inode);
400
	sb->s_root = d_alloc_root(root_inode);
399
	if (!sb->s_root)
401
	if (!sb->s_root)
400
		goto bail_iput;
402
		goto bail_iput;

Return to bug 158786