2009-09-25 20:58:37 +00:00
|
|
|
--- a/fs/namespace.c
|
|
|
|
+++ b/fs/namespace.c
|
2009-09-26 13:29:13 +00:00
|
|
|
@@ -1550,7 +1550,7 @@ static int do_loopback(struct path *path
|
2009-09-25 20:58:37 +00:00
|
|
|
if (!mnt)
|
|
|
|
goto out;
|
|
|
|
|
|
|
|
- err = check_union_mnt(&old_path, mnt, mnt_flags);
|
|
|
|
+ err = check_union_mnt(path, mnt, mnt_flags);
|
|
|
|
if (err)
|
|
|
|
goto out;
|
|
|
|
|