kernel: add a patch for union mounts in 2.6.31
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.31 / 231-union_mounts_bind_fix.patch
1 --- a/fs/namespace.c
2 +++ b/fs/namespace.c
3 @@ -1550,7 +1550,7 @@
4 if (!mnt)
5 goto out;
6
7 - err = check_union_mnt(&old_path, mnt, mnt_flags);
8 + err = check_union_mnt(path, mnt, mnt_flags);
9 if (err)
10 goto out;
11