vfs: add renameat2 syscall
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 1 Apr 2014 15:08:42 +0000 (17:08 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Tue, 1 Apr 2014 15:08:42 +0000 (17:08 +0200)
commit520c8b16505236fc82daa352e6c5e73cd9870cff
treee61b78440874e083928821423e226c0ecc2d6647
parentbc27027a73e8b80376b51a1583ad1c7445605e8a
vfs: add renameat2 syscall

Add new renameat2 syscall, which is the same as renameat with an added
flags argument.

Pass flags to vfs_rename() and to i_op->rename() as well.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: J. Bruce Fields <bfields@redhat.com>
Documentation/filesystems/Locking
Documentation/filesystems/vfs.txt
arch/x86/syscalls/syscall_64.tbl
drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
drivers/staging/lustre/lustre/lvfs/lvfs_linux.c
fs/cachefiles/namei.c
fs/ecryptfs/inode.c
fs/namei.c
fs/nfsd/vfs.c
include/linux/fs.h