commit | 4c1d5a64f134b254552b6211f6f79a1da667eab7 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 07 18:21:57 2011 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:52:41 2012 -0500 |
tree | 130b704f727054b93f2a784a8d08252a1ecda3a0 | |
parent | 32dc730860155b235f13e0cd3fe58b263279baf9 [diff] [blame] |
vfs: for usbfs, etc. internal vfsmounts ->mnt_sb->s_root == ->mnt_root Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index f3a257d..c9dc08d 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c
@@ -160,7 +160,7 @@ * 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);