X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fnamespace.c;h=79bd8a46e1e7298859a85f9ed9efd20e1dfdb19c;hb=a97c9bf33f4612e2aed6f000f6b1d268b6814f3c;hp=587eb0d707ee8d7fd4119aee67c5e4791f4d9d9e;hpb=8066eff0a1a0703ad901dbe5646a47dbfc089ef2;p=linux-2.6 diff --git a/fs/namespace.c b/fs/namespace.c index 587eb0d707..79bd8a46e1 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -160,7 +160,7 @@ clone_mnt(struct vfsmount *old, struct dentry *root) mnt->mnt_root = dget(root); mnt->mnt_mountpoint = mnt->mnt_root; mnt->mnt_parent = mnt; - mnt->mnt_namespace = old->mnt_namespace; + mnt->mnt_namespace = current->namespace; /* stick the duplicate mount on the same expiry list * as the original if that was on one */