Commit 69868be
Mike Snitzer
dm ioctl: assert _hash_lock is held in __hash_remove
Also update dm_early_create() to take _hash_lock when calling both
__get_name_cell and __hash_remove -- given dm_early_create()'s early
boot usecase this locking isn't about correctness but it allows
lockdep_assert_held() to be added to __hash_remove.
Signed-off-by: Mike Snitzer <snitzer@kernel.org>1 parent 76227f6 commit 69868be
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
313 | 315 | | |
314 | 316 | | |
315 | 317 | | |
| |||
2263 | 2265 | | |
2264 | 2266 | | |
2265 | 2267 | | |
| 2268 | + | |
2266 | 2269 | | |
| 2270 | + | |
2267 | 2271 | | |
2268 | 2272 | | |
2269 | 2273 | | |
| |||
0 commit comments