diff options
author | 2016-12-21 11:50:39 +0100 | |
---|---|---|
committer | 2017-04-10 17:37:35 +0200 | |
commit | e7253760587e8523fe1e8ede092a620f1403f2e8 (patch) | |
tree | 7bcf5c7a849efedfb497da81e044bbe958d88454 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fsnotify: Free fsnotify_mark_connector when there is no mark attached (diff) | |
download | wireguard-linux-e7253760587e8523fe1e8ede092a620f1403f2e8.tar.xz wireguard-linux-e7253760587e8523fe1e8ede092a620f1403f2e8.zip |
inotify: Do not drop mark reference under idr_lock
Dropping mark reference can result in mark being freed. Although it
should not happen in inotify_remove_from_idr() since caller should hold
another reference, just don't risk lock up just after WARN_ON
unnecessarily. Also fold do_inotify_remove_from_idr() into the single
callsite as that function really is just two lines of real code.
Reviewed-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions