diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index 43fa25259728..00c4f37a0391 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -2718,7 +2718,7 @@ exit: | |||
2718 | return error; | 2718 | return error; |
2719 | } | 2719 | } |
2720 | 2720 | ||
2721 | asmlinkage long sys_rename(const char __user *oldname, const char __user *newname) | 2721 | SYSCALL_DEFINE2(rename, const char __user *, oldname, const char __user *, newname) |
2722 | { | 2722 | { |
2723 | return sys_renameat(AT_FDCWD, oldname, AT_FDCWD, newname); | 2723 | return sys_renameat(AT_FDCWD, oldname, AT_FDCWD, newname); |
2724 | } | 2724 | } |