|
@@ -1656,7 +1656,7 @@ out_unlock:
|
|
namespace_unlock();
|
|
namespace_unlock();
|
|
}
|
|
}
|
|
|
|
|
|
-/*
|
|
|
|
|
|
+/*
|
|
* Is the caller allowed to modify his namespace?
|
|
* Is the caller allowed to modify his namespace?
|
|
*/
|
|
*/
|
|
static inline bool may_mount(void)
|
|
static inline bool may_mount(void)
|
|
@@ -2210,7 +2210,7 @@ static int do_loopback(struct path *path, const char *old_name,
|
|
|
|
|
|
err = -EINVAL;
|
|
err = -EINVAL;
|
|
if (mnt_ns_loop(old_path.dentry))
|
|
if (mnt_ns_loop(old_path.dentry))
|
|
- goto out;
|
|
|
|
|
|
+ goto out;
|
|
|
|
|
|
mp = lock_mount(path);
|
|
mp = lock_mount(path);
|
|
err = PTR_ERR(mp);
|
|
err = PTR_ERR(mp);
|