summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:15 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:35:36 -0800
commit2e01c83c927f252503349e196ae7d70f55040260 (patch)
tree78cc15a0c95fafc02fca310f8b1b17f87878ee72 /fs
parent4aef3875eb1f8fbcf1c569925c35d279819c1bdb (diff)
System call wrappers part 13
commit 6a6160a7b5c27b3c38651baef92a14fa7072b3c1 upstream. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/xattr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xattr.c b/fs/xattr.c
index f04d78ad6f89..086db063069b 100644
--- a/fs/xattr.c
+++ b/fs/xattr.c
@@ -499,8 +499,8 @@ SYSCALL_DEFINE2(removexattr, const char __user *, pathname,
return error;
}
-asmlinkage long
-sys_lremovexattr(const char __user *pathname, const char __user *name)
+SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname,
+ const char __user *, name)
{
struct path path;
int error;
@@ -517,8 +517,7 @@ sys_lremovexattr(const char __user *pathname, const char __user *name)
return error;
}
-asmlinkage long
-sys_fremovexattr(int fd, const char __user *name)
+SYSCALL_DEFINE2(fremovexattr, int, fd, const char __user *, name)
{
struct file *f;
struct dentry *dentry;