Skip to content
Commit 200f9337 authored by Luis Chamberlain's avatar Luis Chamberlain Committed by Jens Axboe
Browse files

loop: be paranoid on exit and prevent new additions / removals



Be pedantic on removal as well and hold the mutex.
This should prevent uses of addition while we exit.

Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent a67549c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment