kernel_optimize_test/fs/fat
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
..
cache.c fat: permit to return phy block number by fibmap in fallocated region 2016-01-20 17:09:18 -08:00
dir.c fat: switch to ->iterate_shared() 2016-05-09 11:41:15 -04:00
fat.h fat: constify fatent_operations structures 2016-01-20 17:09:18 -08:00
fatent.c fat: constify fatent_operations structures 2016-01-20 17:09:18 -08:00
file.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
inode.c fat: fix error message for bogus number of directory entries 2016-06-24 14:28:01 +02:00
Kconfig fat: add config option to set UTF-8 mount option by default 2016-03-22 15:36:02 -07:00
Makefile fat (exportfs): move NFS support code 2012-10-06 03:05:09 +09:00
misc.c fs: have submit_bh users pass in op and flags separately 2016-06-07 13:41:38 -06:00
namei_msdos.c fs: support RENAME_NOREPLACE for local filesystems 2016-09-27 11:03:57 +02:00
namei_vfat.c fs: support RENAME_NOREPLACE for local filesystems 2016-09-27 11:03:57 +02:00
nfs.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00