Re: [RFC][PATH 4/4] ovl: relax lock_rename when moving files between work and upper dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 10, 2016 at 11:02:21PM +0000, Al Viro wrote:
> On Fri, Nov 11, 2016 at 12:44:43AM +0200, Amir Goldstein wrote:
> > If work dir and upper dir have a common parent, then it
> > is safe to move files between them without taking the super block
> > s_vfs_rename_mutex.
> > 
> > Since both upper dir and work dir (as well as $workdir/work)
> > are delete locked on overlay mount, they cannot be moved.
> 
> Do explain.  What do you mean, "delete locked" and why exactly can't they
> be moved?

More specifically, what makes you think that may_delete() is called before
any change of parent?
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux