lkml.org 
[lkml]   [2005]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] namespace.c: fix bind mount from foreign namespace
From
Date
> A vfsmount can only be in a single namespace at a time, since each
> mount tree is rooted in a single namespace. So what you are saying is
> impossible.

To be more precise a vfsmount can only be in _at_ _most_ one
namespace. When it is detached from a mount tree, it's no longer in
_any_ namespace.

There even seems to be some confusion about that in namespace.c. I
think mnt_namespace should be set to NULL in detach_mnt() instead of
__put_namespace().

Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-16 11:05    [W:0.386 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site