Commit 200f933
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: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent a67549c commit 200f933
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2404 | 2404 | | |
2405 | 2405 | | |
2406 | 2406 | | |
| 2407 | + | |
| 2408 | + | |
2407 | 2409 | | |
2408 | 2410 | | |
2409 | 2411 | | |
2410 | 2412 | | |
2411 | 2413 | | |
2412 | 2414 | | |
2413 | 2415 | | |
| 2416 | + | |
| 2417 | + | |
2414 | 2418 | | |
2415 | 2419 | | |
2416 | 2420 | | |
| |||
0 commit comments