aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xattr.c')
-rw-r--r--fs/xattr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xattr.c b/fs/xattr.c
index 237804cd6b56..d049ae27aae7 100644
--- a/fs/xattr.c
+++ b/fs/xattr.c
@@ -349,7 +349,7 @@ getxattr(struct dentry *d, const char __user *name, void __user *value,
349 return error; 349 return error;
350} 350}
351 351
352asmlinkage ssize_t 352asmlinkage long
353sys_getxattr(const char __user *pathname, const char __user *name, 353sys_getxattr(const char __user *pathname, const char __user *name,
354 void __user *value, size_t size) 354 void __user *value, size_t size)
355{ 355{
@@ -364,7 +364,7 @@ sys_getxattr(const char __user *pathname, const char __user *name,
364 return error; 364 return error;
365} 365}
366 366
367asmlinkage ssize_t 367asmlinkage long
368sys_lgetxattr(const char __user *pathname, const char __user *name, void __user *value, 368sys_lgetxattr(const char __user *pathname, const char __user *name, void __user *value,
369 size_t size) 369 size_t size)
370{ 370{
@@ -379,7 +379,7 @@ sys_lgetxattr(const char __user *pathname, const char __user *name, void __user
379 return error; 379 return error;
380} 380}
381 381
382asmlinkage ssize_t 382asmlinkage long
383sys_fgetxattr(int fd, const char __user *name, void __user *value, size_t size) 383sys_fgetxattr(int fd, const char __user *name, void __user *value, size_t size)
384{ 384{
385 struct file *f; 385 struct file *f;
@@ -424,7 +424,7 @@ listxattr(struct dentry *d, char __user *list, size_t size)
424 return error; 424 return error;
425} 425}
426 426
427asmlinkage ssize_t 427asmlinkage long
428sys_listxattr(const char __user *pathname, char __user *list, size_t size) 428sys_listxattr(const char __user *pathname, char __user *list, size_t size)
429{ 429{
430 struct path path; 430 struct path path;
@@ -438,7 +438,7 @@ sys_listxattr(const char __user *pathname, char __user *list, size_t size)
438 return error; 438 return error;
439} 439}
440 440
441asmlinkage ssize_t 441asmlinkage long
442sys_llistxattr(const char __user *pathname, char __user *list, size_t size) 442sys_llistxattr(const char __user *pathname, char __user *list, size_t size)
443{ 443{
444 struct path path; 444 struct path path;
@@ -452,7 +452,7 @@ sys_llistxattr(const char __user *pathname, char __user *list, size_t size)
452 return error; 452 return error;
453} 453}
454 454
455asmlinkage ssize_t 455asmlinkage long
456sys_flistxattr(int fd, char __user *list, size_t size) 456sys_flistxattr(int fd, char __user *list, size_t size)
457{ 457{
458 struct file *f; 458 struct file *f;