Commit 4c1d5a64f134b254552b6211f6f79a1da667eab7
1 parent
32dc730860
Exists in
master
and in
6 other branches
vfs: for usbfs, etc. internal vfsmounts ->mnt_sb->s_root == ->mnt_root
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Showing 6 changed files with 8 additions and 8 deletions Side-by-side Diff
arch/ia64/kernel/perfmon.c
... | ... | @@ -2228,7 +2228,7 @@ |
2228 | 2228 | /* |
2229 | 2229 | * allocate a new dcache entry |
2230 | 2230 | */ |
2231 | - path.dentry = d_alloc(pfmfs_mnt->mnt_sb->s_root, &this); | |
2231 | + path.dentry = d_alloc(pfmfs_mnt->mnt_root, &this); | |
2232 | 2232 | if (!path.dentry) { |
2233 | 2233 | iput(inode); |
2234 | 2234 | return ERR_PTR(-ENOMEM); |
drivers/usb/core/inode.c
... | ... | @@ -501,7 +501,7 @@ |
501 | 501 | */ |
502 | 502 | if (!parent ) { |
503 | 503 | if (usbfs_mount && usbfs_mount->mnt_sb) { |
504 | - parent = usbfs_mount->mnt_sb->s_root; | |
504 | + parent = usbfs_mount->mnt_root; | |
505 | 505 | } |
506 | 506 | } |
507 | 507 | |
... | ... | @@ -608,7 +608,7 @@ |
608 | 608 | |
609 | 609 | ignore_mount = 0; |
610 | 610 | |
611 | - parent = usbfs_mount->mnt_sb->s_root; | |
611 | + parent = usbfs_mount->mnt_root; | |
612 | 612 | devices_usbfs_dentry = fs_create_file ("devices", |
613 | 613 | listmode | S_IFREG, parent, |
614 | 614 | NULL, &usbfs_devices_fops, |
... | ... | @@ -662,7 +662,7 @@ |
662 | 662 | |
663 | 663 | sprintf (name, "%03d", bus->busnum); |
664 | 664 | |
665 | - parent = usbfs_mount->mnt_sb->s_root; | |
665 | + parent = usbfs_mount->mnt_root; | |
666 | 666 | bus->usbfs_dentry = fs_create_file (name, busmode | S_IFDIR, parent, |
667 | 667 | bus, NULL, busuid, busgid); |
668 | 668 | if (bus->usbfs_dentry == NULL) { |
fs/configfs/dir.c
fs/debugfs/inode.c
fs/hppfs/hppfs.c
security/inode.c