Skip to content
Snippets Groups Projects
Commit 62c9d267 authored by ZhangXiaoxu's avatar ZhangXiaoxu Committed by Jan Kara
Browse files

inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()


Commit 4d97f7d5 ("inotify: Add flag IN_MASK_CREATE for
inotify_add_watch()") forgot to call fsnotify_put_mark() with
IN_MASK_CREATE after fsnotify_find_mark()

Fixes: 4d97f7d5 ("inotify: Add flag IN_MASK_CREATE for inotify_add_watch()")
Signed-off-by: default avatarZhangXiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 12ad143e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment