Re: [PATCH 4/9] vfs: introduce clone_private_mount()

2013-03-14 Thread Miklos Szeredi
On Wed, Mar 13, 2013 at 11:48 PM, Andrew Morton wrote: > On Wed, 13 Mar 2013 15:16:28 +0100 Miklos Szeredi wrote: > >> From: Miklos Szeredi >> >> Overlayfs needs a private clone of the mount, so create a function for >> this and export to modules. >> >> ... >> >> +struct vfsmount *clone_private_

Re: [PATCH 4/9] vfs: introduce clone_private_mount()

2013-03-13 Thread Andrew Morton
On Wed, 13 Mar 2013 15:16:28 +0100 Miklos Szeredi wrote: > From: Miklos Szeredi > > Overlayfs needs a private clone of the mount, so create a function for > this and export to modules. > > ... > > +struct vfsmount *clone_private_mount(struct path *path) > +{ > + struct mount *old_mnt = rea