diff options
author | Amir Goldstein <amir73il@gmail.com> | 2021-11-29 22:15:27 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-12-15 14:04:03 +0100 |
commit | ad69cd9972e79aba103ba5365de0acd35770c265 (patch) | |
tree | d9e5682783f8d4ce6b6ead1474dfee908ec41093 /fs/notify/group.c | |
parent | 5472f14a37421d1bca3dddf33cabd3bd6dbefbbc (diff) |
fsnotify: clarify object type argument
In preparation for separating object type from iterator type, rename
some 'type' arguments in functions to 'obj_type' and remove the unused
interface to clear marks by object type mask.
Link: https://lore.kernel.org/r/20211129201537.1932819-2-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/group.c')
-rw-r--r-- | fs/notify/group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/group.c b/fs/notify/group.c index 6a297efc4788..b7d4d64f87c2 100644 --- a/fs/notify/group.c +++ b/fs/notify/group.c @@ -58,7 +58,7 @@ void fsnotify_destroy_group(struct fsnotify_group *group) fsnotify_group_stop_queueing(group); /* Clear all marks for this group and queue them for destruction */ - fsnotify_clear_marks_by_group(group, FSNOTIFY_OBJ_ALL_TYPES_MASK); + fsnotify_clear_marks_by_group(group, FSNOTIFY_OBJ_TYPE_ANY); /* * Some marks can still be pinned when waiting for response from |