fsnotify: Remove fsnotify_detach_group_marks()
authorJan Kara <jack@suse.cz>
Wed, 4 Jan 2017 09:51:58 +0000 (10:51 +0100)
committerJan Kara <jack@suse.cz>
Mon, 10 Apr 2017 15:37:36 +0000 (17:37 +0200)
commit2e37c6ca8d76c362e844c0cf3ebe8ba2e27940cb
tree9149a5b0d36240b6c41d614a28cc6635e2570fc5
parent18f2e0d3a43641889ac2ba9d7508d47359eec063
fsnotify: Remove fsnotify_detach_group_marks()

The function is already mostly contained in what
fsnotify_clear_marks_by_group() does. Just update that function to not
select marks when all of them should be destroyed and remove
fsnotify_detach_group_marks().

Reviewed-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fsnotify.h
fs/notify/group.c
fs/notify/mark.c
include/linux/fsnotify_backend.h