mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
vfs: for usbfs, etc. internal vfsmounts ->mnt_sb->s_root == ->mnt_root
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
32dc730860
commit
4c1d5a64f1
6 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue