Miklos Szeredi f03b8ad8d3 fs: support RENAME_NOREPLACE for local filesystems
This is trivial to do:

 - add flags argument to foo_rename()
 - check if flags doesn't have any other than RENAME_NOREPLACE
 - assign foo_rename() to .rename2 instead of .rename

Filesystems converted:

affs, bfs, exofs, ext2, hfs, hfsplus, jffs2, jfs, logfs, minix, msdos,
nilfs2, omfs, reiserfs, sysvfs, ubifs, udf, ufs, vfat.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Acked-by: Boaz Harrosh <ooo@electrozaur.com>
Acked-by: Richard Weinberger <richard@nod.at>
Acked-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Jan Kara <jack@suse.cz>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Dave Kleikamp <shaggy@kernel.org>
Cc: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Cc: Christoph Hellwig <hch@infradead.org>
2016-09-27 11:03:57 +02:00
..
2016-03-31 00:30:15 -04:00
2016-05-12 22:29:18 -04:00
2016-01-22 18:04:28 -05:00
2006-10-02 09:55:27 -05:00
2008-05-13 08:22:10 -05:00
2016-03-30 10:48:28 -05:00
2013-06-29 12:56:42 +04:00
2013-06-05 14:47:19 -05:00
2006-10-02 09:55:27 -05:00
2016-03-30 10:48:28 -05:00
2007-04-26 07:30:29 -05:00
2011-03-31 11:26:23 -03:00
2010-08-09 11:25:17 +02:00
2013-06-05 14:47:19 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2009-02-02 13:43:28 -06:00
2013-06-05 14:47:19 -05:00