vfs: mnt_ns moved to struct mount
[linux-2.6-block.git] / fs / dcache.c
index 24790041ea763628d94e431c176358850e6db7ba..9791b1e7eee467cb97f243c6311e5624944b38db 100644 (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;
 }