Add support for rename flags to a couple more filesystems, while gradually migrating away from ->rename() to ->rename2(). RENAME_NOREPLACE is really easy for the majority (here only btrfs, shmem, hostfs and cifs are done), so more of the this is coming if this series is well received. git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git renameat2 Thanks, Miklos --- Miklos Szeredi (7): vfs: call rename2 if exists bad_inode: add ->rename2() btrfs: add RENAME_NOREPLACE shmem: support RENAME_NOREPLACE shmem: support RENAME_EXCHANGE hostfs: support rename flags cifs: support RENAME_NOREPLACE --- fs/bad_inode.c | 7 ++++--- fs/btrfs/inode.c | 12 +++++++++++- fs/cifs/cifsfs.c | 2 +- fs/cifs/cifsfs.h | 4 ++-- fs/cifs/inode.c | 14 ++++++++++++-- fs/ext4/namei.c | 1 - fs/fuse/dir.c | 7 ------- fs/hostfs/hostfs.h | 1 + fs/hostfs/hostfs_kern.c | 30 ++++++++++++++++++++---------- fs/hostfs/hostfs_user.c | 28 ++++++++++++++++++++++++++++ fs/namei.c | 5 +++-- mm/shmem.c | 32 ++++++++++++++++++++++++++++++-- 12 files changed, 112 insertions(+), 31 deletions(-) -- 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