summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-05-27 15:41:40 +0200
committerEric Paris <eparis@redhat.com>2010-07-28 15:59:03 +0200
commit08ae89380a8210a9965d04083e1de78cb8bca4b1 (patch)
tree95ef9493b5a6152e7c683d2d5a8531844530f0f7 /include
parentfanotify: default Kconfig to n (diff)
downloadlinux-08ae89380a8210a9965d04083e1de78cb8bca4b1.tar.xz
linux-08ae89380a8210a9965d04083e1de78cb8bca4b1.zip
fanotify: drop the useless priority argument
The priority argument in fanotify is useless. Kill it. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsnotify_backend.h1
-rw-r--r--include/linux/syscalls.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h
index b0d00fd6bfad..b9b3f24ad4fc 100644
--- a/include/linux/fsnotify_backend.h
+++ b/include/linux/fsnotify_backend.h
@@ -143,7 +143,6 @@ struct fsnotify_group {
* a group */
struct list_head marks_list; /* all inode marks for this group */
- unsigned int priority; /* order of this group compared to others */
/* prevents double list_del of group_list. protected by global fsnotify_grp_mutex */
bool on_inode_group_list;
bool on_vfsmount_group_list;
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 5b05c37059e9..0ec26a74f20a 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -813,8 +813,7 @@ asmlinkage long sys_pselect6(int, fd_set __user *, fd_set __user *,
asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int,
struct timespec __user *, const sigset_t __user *,
size_t);
-asmlinkage long sys_fanotify_init(unsigned int flags, unsigned int event_f_flags,
- unsigned int priority);
+asmlinkage long sys_fanotify_init(unsigned int flags, unsigned int event_f_flags);
asmlinkage long sys_fanotify_mark(int fanotify_fd, unsigned int flags,
u64 mask, int fd,
const char __user *pathname);