diff options
author | Jan Kara <jack@suse.cz> | 2014-01-21 18:48:15 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-21 19:19:41 -0500 |
commit | 83c4c4b0a3aadc1ce7b5b2870ce1fc1f65498da0 (patch) | |
tree | a195ea785bb03a301773930f62d3fa45927be10d /include/linux/fsnotify_backend.h | |
parent | 7053aee26a3548ebaba046ae2e52396ccf56ac6c (diff) |
fsnotify: remove .should_send_event callback
After removing event structure creation from the generic layer there is
no reason for separate .should_send_event and .handle_event callbacks.
So just remove the first one.
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Eric Paris <eparis@parisplace.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fsnotify_backend.h')
-rw-r--r-- | include/linux/fsnotify_backend.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 7f3d7dcfcd00..7d8d5e608594 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h | |||
@@ -94,10 +94,6 @@ struct fsnotify_fname; | |||
94 | * userspace messages that marks have been removed. | 94 | * userspace messages that marks have been removed. |
95 | */ | 95 | */ |
96 | struct fsnotify_ops { | 96 | struct fsnotify_ops { |
97 | bool (*should_send_event)(struct fsnotify_group *group, struct inode *inode, | ||
98 | struct fsnotify_mark *inode_mark, | ||
99 | struct fsnotify_mark *vfsmount_mark, | ||
100 | __u32 mask, void *data, int data_type); | ||
101 | int (*handle_event)(struct fsnotify_group *group, | 97 | int (*handle_event)(struct fsnotify_group *group, |
102 | struct inode *inode, | 98 | struct inode *inode, |
103 | struct fsnotify_mark *inode_mark, | 99 | struct fsnotify_mark *inode_mark, |