X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fs%2Fxattr.c;h=197c4fcac0323e6de46fed267732c343298d3a07;hb=6a6160a7b5c27b3c38651baef92a14fa7072b3c1;hp=0367a5dae2b8ad1b57a4c25bcb1862266aac415a;hpb=64fd1de3d821659ac0a3004fd5ee1de59e64af30;p=linux-2.6-block.git diff --git a/fs/xattr.c b/fs/xattr.c index 0367a5dae2b8..197c4fcac032 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;