summaryrefslogtreecommitdiff
path: root/fs/open.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:35:37 -0800
commit975759ffd9e74e28b5896e3fd26223b269d72b1b (patch)
tree68d3ffc4dbf06eed54b3abd0bad8fbd341a857bc /fs/open.c
parent6525ee71dd12e626b41051c7165d71849a9d1de0 (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/open.c')
-rw-r--r--fs/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/open.c b/fs/open.c
index 5100977baeb3..0834302d773f 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -599,7 +599,7 @@ out:
return error;
}
-asmlinkage long sys_fchmod(unsigned int fd, mode_t mode)
+SYSCALL_DEFINE2(fchmod, unsigned int, fd, mode_t, mode)
{
struct inode * inode;
struct dentry * dentry;
@@ -663,7 +663,7 @@ out:
return error;
}
-asmlinkage long sys_chmod(const char __user *filename, mode_t mode)
+SYSCALL_DEFINE2(chmod, const char __user *, filename, mode_t, mode)
{
return sys_fchmodat(AT_FDCWD, filename, mode);
}