Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
return -EINVAL;
}
- if (usbfs_mount && usbfs_mount->mnt_sb)
+ if (usbfs_mount)
update_sb(usbfs_mount->mnt_sb);
return 0;
* have around.
*/
if (!parent ) {
- if (usbfs_mount && usbfs_mount->mnt_sb) {
+ if (usbfs_mount)
parent = usbfs_mount->mnt_root;
- }
}
if (!parent) {
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;