diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -468,7 +468,7 @@ out_unlock: | |||
468 | return error; | 468 | return error; |
469 | } | 469 | } |
470 | 470 | ||
471 | SYSCALL_DEFINE2(fchmod, unsigned int, fd, mode_t, mode) | 471 | SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) |
472 | { | 472 | { |
473 | struct file * file; | 473 | struct file * file; |
474 | int err = -EBADF; | 474 | int err = -EBADF; |
@@ -482,7 +482,7 @@ SYSCALL_DEFINE2(fchmod, unsigned int, fd, mode_t, mode) | |||
482 | return err; | 482 | return err; |
483 | } | 483 | } |
484 | 484 | ||
485 | SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, mode_t, mode) | 485 | SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, umode_t, mode) |
486 | { | 486 | { |
487 | struct path path; | 487 | struct path path; |
488 | int error; | 488 | int error; |
@@ -495,7 +495,7 @@ SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, mode_t, mode) | |||
495 | return error; | 495 | return error; |
496 | } | 496 | } |
497 | 497 | ||
498 | SYSCALL_DEFINE2(chmod, const char __user *, filename, mode_t, mode) | 498 | SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) |
499 | { | 499 | { |
500 | return sys_fchmodat(AT_FDCWD, filename, mode); | 500 | return sys_fchmodat(AT_FDCWD, filename, mode); |
501 | } | 501 | } |