]> git.baikalelectronics.ru Git - kernel.git/commit
watch_queue: Free the alloc bitmap when the watch_queue is torn down
authorDavid Howells <dhowells@redhat.com>
Fri, 11 Mar 2022 13:24:29 +0000 (13:24 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 11 Mar 2022 18:17:13 +0000 (10:17 -0800)
commitb700d37bdb73b6e16eb0cb806b7172ed33833cbe
tree4fad9cea9259df10da75c44d4788a62d920ba661
parent472fc14af796c8ee28c8a7b6ecf2619ef859ad0b
watch_queue: Free the alloc bitmap when the watch_queue is torn down

Free the watch_queue note allocation bitmap when the watch_queue is
destroyed.

Fixes: 175295c8c9fa ("pipe: Add general notification queue support")
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/watch_queue.c