On Tue, May 13, 2014 at 07:05:57AM -0700, Christoph Hellwig wrote: > On Tue, May 13, 2014 at 03:56:22PM +0200, Miklos Szeredi wrote: > > From: Miklos Szeredi <mszeredi@xxxxxxx> > > > > RENAME_NOREPLACE is trivial to implement for most filesystems. This adds a > > helper that can be assigned to ->rename2() and calls ->rename(). > > > > Only suitable for local filesystems, i.e. those that cannot have files > > "spontaneously" appear (like NFS and friends). > > I don't like this approach at all. Please bite the bullet and rename > ->rename2 to ->rename and all the proper rejecting of non-supported > flags intstead of further locking down the duplication. There was pushback from Stephen Rothwell as well as Al, which is why it ended up being a separate op. I was always hoping to merge the two, but until there's clear indication that it's going to get accepted, there's no point in me preparing and maintaining such a patch. Thanks, Miklos -- 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