Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280159
b: refs/heads/master
c: 4c1d5a6
h: refs/heads/master
i:
  280157: c4cb12c
  280155: 66fac11
  280151: 0ea8021
  280143: a4261e5
  280127: 6503821
v: v3
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent 65b3bea commit 6cfc00c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 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: 32dc730860155b235f13e0cd3fe58b263279baf9
refs/heads/master: 4c1d5a64f134b254552b6211f6f79a1da667eab7
2 changes: 1 addition & 1 deletion trunk/arch/ia64/kernel/perfmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2228,7 +2228,7 @@ pfm_alloc_file(pfm_context_t *ctx)
/*
* allocate a new dcache entry
*/
path.dentry = d_alloc(pfmfs_mnt->mnt_sb->s_root, &this);
path.dentry = d_alloc(pfmfs_mnt->mnt_root, &this);
if (!path.dentry) {
iput(inode);
return ERR_PTR(-ENOMEM);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/usb/core/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ static int fs_create_by_name (const char *name, mode_t mode,
*/
if (!parent ) {
if (usbfs_mount && usbfs_mount->mnt_sb) {
parent = usbfs_mount->mnt_sb->s_root;
parent = usbfs_mount->mnt_root;
}
}

Expand Down Expand Up @@ -608,7 +608,7 @@ static int create_special_files (void)

ignore_mount = 0;

parent = usbfs_mount->mnt_sb->s_root;
parent = usbfs_mount->mnt_root;
devices_usbfs_dentry = fs_create_file ("devices",
listmode | S_IFREG, parent,
NULL, &usbfs_devices_fops,
Expand Down Expand Up @@ -662,7 +662,7 @@ static void usbfs_add_bus(struct usb_bus *bus)

sprintf (name, "%03d", bus->busnum);

parent = usbfs_mount->mnt_sb->s_root;
parent = usbfs_mount->mnt_root;
bus->usbfs_dentry = fs_create_file (name, busmode | S_IFDIR, parent,
bus, NULL, busuid, busgid);
if (bus->usbfs_dentry == NULL) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/configfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ static int configfs_create_dir(struct config_item * item, struct dentry *dentry)
if (item->ci_parent)
parent = item->ci_parent->ci_dentry;
else if (configfs_mount && configfs_mount->mnt_sb)
parent = configfs_mount->mnt_sb->s_root;
parent = configfs_mount->mnt_root;
else
return -EFAULT;

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/debugfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static int debugfs_create_by_name(const char *name, mode_t mode,
* have around.
*/
if (!parent)
parent = debugfs_mount->mnt_sb->s_root;
parent = debugfs_mount->mnt_root;

*dentry = NULL;
mutex_lock(&parent->d_inode->i_mutex);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/hppfs/hppfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ static int hppfs_fill_super(struct super_block *sb, void *d, int silent)
sb->s_fs_info = proc_mnt;

err = -ENOMEM;
root_inode = get_inode(sb, dget(proc_mnt->mnt_sb->s_root));
root_inode = get_inode(sb, dget(proc_mnt->mnt_root));
if (!root_inode)
goto out_mntput;

Expand Down
2 changes: 1 addition & 1 deletion trunk/security/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static int create_by_name(const char *name, mode_t mode,
* have around.
*/
if (!parent)
parent = mount->mnt_sb->s_root;
parent = mount->mnt_root;

mutex_lock(&parent->d_inode->i_mutex);
*dentry = lookup_one_len(name, parent, strlen(name));
Expand Down

0 comments on commit 6cfc00c

Please sign in to comment.