diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-12-08 00:21:57 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:52:41 +0100 |
commit | 4c1d5a64f134b254552b6211f6f79a1da667eab7 (patch) | |
tree | 130b704f727054b93f2a784a8d08252a1ecda3a0 /fs/configfs | |
parent | get rid of timer in kern/acct.c (diff) | |
download | linux-4c1d5a64f134b254552b6211f6f79a1da667eab7.tar.xz linux-4c1d5a64f134b254552b6211f6f79a1da667eab7.zip |
vfs: for usbfs, etc. internal vfsmounts ->mnt_sb->s_root == ->mnt_root
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/configfs')
-rw-r--r-- | fs/configfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c index 9a37a9b6de3a..36b1d7aadba1 100644 --- a/fs/configfs/dir.c +++ b/fs/configfs/dir.c @@ -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; |