From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Bruce Fields" Subject: Re: [PATCH 11/11] ext4: add cross rename support Date: Thu, 16 Jan 2014 09:48:56 -0500 Message-ID: <20140116144856.GA16829@fieldses.org> References: <1389219015-10980-1-git-send-email-miklos@szeredi.hu> <1389219015-10980-12-git-send-email-miklos@szeredi.hu> <20140113122517.GA10366@quack.suse.cz> <20140115182347.GB5715@fieldses.org> <20140116105406.GF24171@tucsk.piliscsaba.szeredi.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Michael Kerrisk , Jan Kara , Al Viro , Linus Torvalds , Linux-Fsdevel , Kernel Mailing List , Christoph Hellwig , Andrew Morton , David Howells , Zach Brown , Andy Lutomirski , "mszeredi@suse.cz" To: Miklos Szeredi Return-path: Content-Disposition: inline In-Reply-To: <20140116105406.GF24171@tucsk.piliscsaba.szeredi.hu> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Jan 16, 2014 at 11:54:06AM +0100, Miklos Szeredi wrote: > > On Wed, Jan 15, 2014 at 7:23 PM, J. Bruce Fields wrote: > > > Do you have a man page update somewhere for the two new flags? > > Here's the updated man page (and attached the patch) Looks good to me. Total nits: > RENAME_NOREPLACE > Don't overwrite the target of the rename. Return an error if > the target would be overwritten. s/Return an error/Fail with EEXIST/? (Since it doesn't literally return the error.) > ENOENT flags contain RENAME_EXCHANGE and the target of the rename does > not exist s/the target of the rename/either of the two files/ --b.