diff options
author | Jan Kara <jack@suse.cz> | 2016-12-14 14:40:05 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-01-03 15:56:38 -0500 |
commit | be29d20f3f5db1f0b4e49a4f6eeedf840e2bf9b1 (patch) | |
tree | 129d3e33fe04b96e2af0b8adf633019a316f10e8 /sound/usb/usx2y/Makefile | |
parent | e3ba730702af370563f66cb610b71aa0ca67955e (diff) |
audit: Fix sleep in atomic
Audit tree code was happily adding new notification marks while holding
spinlocks. Since fsnotify_add_mark() acquires group->mark_mutex this can
lead to sleeping while holding a spinlock, deadlocks due to lock
inversion, and probably other fun. Fix the problem by acquiring
group->mark_mutex earlier.
CC: Paul Moore <paul@paul-moore.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'sound/usb/usx2y/Makefile')
0 files changed, 0 insertions, 0 deletions