Re: [PATCH 3/7] shared subtree

2005-07-28 Thread Miklos Szeredi
> yes we agreed on returning EINVAL when a directory is attempted to made > shared/private/slave/unclonnable. But this is a different case. > > lets say /mnt is a mountpoint having a vfsmount (say A). > now if you run > mount --bind /mnt/a /tmp > this operation succeeds currently. >

Re: [PATCH 3/7] shared subtree

2005-07-27 Thread Ram Pai
On Wed, 2005-07-27 at 12:13, Miklos Szeredi wrote: > > @@ -54,7 +55,7 @@ static inline unsigned long hash(struct > > > > struct vfsmount *alloc_vfsmnt(const char *name) > > { > > - struct vfsmount *mnt = kmem_cache_alloc(mnt_cache, GFP_KERNEL); > > + struct vfsmount *mnt = kmem_cache_allo

Re: [PATCH 3/7] shared subtree

2005-07-27 Thread Miklos Szeredi
> @@ -54,7 +55,7 @@ static inline unsigned long hash(struct > > struct vfsmount *alloc_vfsmnt(const char *name) > { > - struct vfsmount *mnt = kmem_cache_alloc(mnt_cache, GFP_KERNEL); > + struct vfsmount *mnt = kmem_cache_alloc(mnt_cache, GFP_KERNEL); > if (mnt) { >