summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:17 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:43:56 -0800
commit26400907b33054ee7ac5ed855976dc455fdab622 (patch)
tree34a2d911c3af78b566d25d39ce484bad1f34760e /fs/namei.c
parenteb728e5bd36c757f3086ef17bd2d62c5d46d3dc4 (diff)
System call wrappers part 15
commit a26eab2400f0477bfac0255600552394855016f7 upstream. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index c6c3131725f8..d96ed2c416e8 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2696,7 +2696,7 @@ exit:
return error;
}
-asmlinkage long sys_rename(const char __user *oldname, const char __user *newname)
+SYSCALL_DEFINE2(rename, const char __user *, oldname, const char __user *, newname)
{
return sys_renameat(AT_FDCWD, oldname, AT_FDCWD, newname);
}