diff options
Diffstat (limited to 'fs/xattr.c')
-rw-r--r-- | fs/xattr.c | 12 |
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 | ||
352 | asmlinkage ssize_t | 352 | asmlinkage long |
353 | sys_getxattr(const char __user *pathname, const char __user *name, | 353 | sys_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 | ||
367 | asmlinkage ssize_t | 367 | asmlinkage long |
368 | sys_lgetxattr(const char __user *pathname, const char __user *name, void __user *value, | 368 | sys_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 | ||
382 | asmlinkage ssize_t | 382 | asmlinkage long |
383 | sys_fgetxattr(int fd, const char __user *name, void __user *value, size_t size) | 383 | sys_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 | ||
427 | asmlinkage ssize_t | 427 | asmlinkage long |
428 | sys_listxattr(const char __user *pathname, char __user *list, size_t size) | 428 | sys_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 | ||
441 | asmlinkage ssize_t | 441 | asmlinkage long |
442 | sys_llistxattr(const char __user *pathname, char __user *list, size_t size) | 442 | sys_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 | ||
455 | asmlinkage ssize_t | 455 | asmlinkage long |
456 | sys_flistxattr(int fd, char __user *list, size_t size) | 456 | sys_flistxattr(int fd, char __user *list, size_t size) |
457 | { | 457 | { |
458 | struct file *f; | 458 | struct file *f; |