openwrt/target/linux/generic-2.6/patches-2.6.32/231-union_mounts_bind_fix.patch
Imre Kaloz 3d4466cfd8 add preliminary 2.6.32 support
SVN-Revision: 18283
2009-11-03 10:49:27 +00:00

12 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;