vfs: mnt_ns moved to struct mount

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2011-11-25 00:46:35 -05:00
commit 143c8c91ce
5 changed files with 30 additions and 29 deletions

View file

@ -2503,7 +2503,7 @@ global_root:
if (!slash)
error = prepend(buffer, buflen, "/", 1);
if (!error)
error = vfsmnt->mnt_ns ? 1 : 2;
error = real_mount(vfsmnt)->mnt_ns ? 1 : 2;
goto out;
}