openwrtv4/target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch
Hauke Mehrtens a2698ec77c refresh patches
SVN-Revision: 17738
2009-09-26 13:29:13 +00:00

11 lines
257 B
Diff

--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1550,7 +1550,7 @@ static int do_loopback(struct path *path
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;