Re: [PATCH 08/13] vfs: add cross-rename

2014-02-11 Thread Miklos Szeredi
On Fri, Feb 07, 2014 at 05:40:44PM -0500, J. Bruce Fields wrote: > On Fri, Feb 07, 2014 at 05:49:06PM +0100, Miklos Szeredi wrote: > > From: Miklos Szeredi > > > > If flags contain RENAME_EXCHANGE then exchange source and destination files. > > There's no restriction on the type of the files; e.g

Re: [PATCH 08/13] vfs: add cross-rename

2014-02-07 Thread J. Bruce Fields
On Fri, Feb 07, 2014 at 05:49:06PM +0100, Miklos Szeredi wrote: > From: Miklos Szeredi > > If flags contain RENAME_EXCHANGE then exchange source and destination files. > There's no restriction on the type of the files; e.g. a directory can be > exchanged with a symlink. > > Signed-off-by: Miklos

[PATCH 08/13] vfs: add cross-rename

2014-02-07 Thread Miklos Szeredi
From: Miklos Szeredi If flags contain RENAME_EXCHANGE then exchange source and destination files. There's no restriction on the type of the files; e.g. a directory can be exchanged with a symlink. Signed-off-by: Miklos Szeredi Reviewed-by: Jan Kara --- fs/dcache.c | 45 ++