include/linux/syscalls.h: add sys_renameat2() prototype
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 8 Apr 2014 10:55:46 +0000 (12:55 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Apr 2014 16:24:25 +0000 (09:24 -0700)
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/syscalls.h

index 2aa8b749f13d058b7c51c259da8bfed4d9c9eae7..697ceb70a9a9107689c1fc98f8599552314a9fd8 100644 (file)
@@ -748,6 +748,9 @@ asmlinkage long sys_linkat(int olddfd, const char __user *oldname,
                           int newdfd, const char __user *newname, int flags);
 asmlinkage long sys_renameat(int olddfd, const char __user * oldname,
                             int newdfd, const char __user * newname);
+asmlinkage long sys_renameat2(int olddfd, const char __user *oldname,
+                             int newdfd, const char __user *newname,
+                             unsigned int flags);
 asmlinkage long sys_futimesat(int dfd, const char __user *filename,
                              struct timeval __user *utimes);
 asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode);