]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/notify/inotify/inotify_user.c
[CVE-2009-0029] System call wrappers part 28
[mirror_ubuntu-zesty-kernel.git] / fs / notify / inotify / inotify_user.c
index 81b8644b0136cdb84fa9f254f329f7104fe4e7d3..efef1ffca77bb2fd6eb76a8deea27558b3647714 100644 (file)
@@ -576,7 +576,7 @@ static const struct inotify_operations inotify_user_ops = {
        .destroy_watch  = free_inotify_user_watch,
 };
 
-asmlinkage long sys_inotify_init1(int flags)
+SYSCALL_DEFINE1(inotify_init1, int, flags)
 {
        struct inotify_device *dev;
        struct inotify_handle *ih;
@@ -655,7 +655,7 @@ out_put_fd:
        return ret;
 }
 
-asmlinkage long sys_inotify_init(void)
+SYSCALL_DEFINE0(inotify_init)
 {
        return sys_inotify_init1(0);
 }