diff options
Diffstat (limited to 'fs/notify/inotify/inotify_user.c')
| -rw-r--r-- | fs/notify/inotify/inotify_user.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index 81b8644b0136..d53a1838d6e8 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c | |||
| @@ -576,7 +576,7 @@ static const struct inotify_operations inotify_user_ops = { | |||
| 576 | .destroy_watch = free_inotify_user_watch, | 576 | .destroy_watch = free_inotify_user_watch, |
| 577 | }; | 577 | }; |
| 578 | 578 | ||
| 579 | asmlinkage long sys_inotify_init1(int flags) | 579 | SYSCALL_DEFINE1(inotify_init1, int, flags) |
| 580 | { | 580 | { |
| 581 | struct inotify_device *dev; | 581 | struct inotify_device *dev; |
| 582 | struct inotify_handle *ih; | 582 | struct inotify_handle *ih; |
| @@ -655,12 +655,13 @@ out_put_fd: | |||
| 655 | return ret; | 655 | return ret; |
| 656 | } | 656 | } |
| 657 | 657 | ||
| 658 | asmlinkage long sys_inotify_init(void) | 658 | SYSCALL_DEFINE0(inotify_init) |
| 659 | { | 659 | { |
| 660 | return sys_inotify_init1(0); | 660 | return sys_inotify_init1(0); |
| 661 | } | 661 | } |
| 662 | 662 | ||
| 663 | asmlinkage long sys_inotify_add_watch(int fd, const char __user *pathname, u32 mask) | 663 | SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname, |
| 664 | u32, mask) | ||
| 664 | { | 665 | { |
| 665 | struct inode *inode; | 666 | struct inode *inode; |
| 666 | struct inotify_device *dev; | 667 | struct inotify_device *dev; |
| @@ -704,7 +705,7 @@ fput_and_out: | |||
| 704 | return ret; | 705 | return ret; |
| 705 | } | 706 | } |
| 706 | 707 | ||
| 707 | asmlinkage long sys_inotify_rm_watch(int fd, __s32 wd) | 708 | SYSCALL_DEFINE2(inotify_rm_watch, int, fd, __s32, wd) |
| 708 | { | 709 | { |
| 709 | struct file *filp; | 710 | struct file *filp; |
| 710 | struct inotify_device *dev; | 711 | struct inotify_device *dev; |
