On Wed, Mar 26, 2008 at 10:11:34PM +0100, Miklos Szeredi wrote:
*Ugh*
Why bother with vfsmount_lock here? All allocations are done under
namespace_sem. Moreover, I'd rather replace that 'goto retry' with
a single call of ida_get_new(), since we are serialized anyway.
... and I'd rather do that earlier, e.g. in umount_tree(). At that point
we (a) have namespace_sem and (b) irrevocably kick the sucker out of
any namespace.
I'd rather minimize banging vfsmount_lock like that...
--