mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
vfs: live vfsmounts never have NULL ->mnt_sb
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
4c1d5a64f1
commit
c972b4bc83
2 changed files with 3 additions and 4 deletions
|
|
@ -311,7 +311,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)
|
||||
else if (configfs_mount)
|
||||
parent = configfs_mount->mnt_root;
|
||||
else
|
||||
return -EFAULT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue