diff options
| author | Christoph Hellwig <[email protected]> | 2021-04-06 08:22:56 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-04-08 10:24:36 -0600 |
| commit | c76f48eb5c084b1e15c931ae8cc1826cd771d70d (patch) | |
| tree | e077b28cd7d52c2f98be76d4faf699341f7393b2 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | d3c4a43d9291279c28b26757351a6ab72c110753 (diff) | |
block: take bd_mutex around delete_partitions in del_gendisk
There is nothing preventing an ioctl from trying do delete partition
concurrenly with del_gendisk, so take open_mutex to serialize against
that.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions