Christoph Hellwig a8698707a1 block: move bd_mutex to struct gendisk
Replace the per-block device bd_mutex with a per-gendisk open_mutex,
thus simplifying locking wherever we deal with partitions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Link: https://lore.kernel.org/r/20210525061301.2242282-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-06-01 07:44:32 -06:00
..
2021-04-29 11:57:23 -07:00
2021-01-22 21:14:09 -05:00
2021-03-24 22:58:33 -04:00
2021-03-24 22:54:24 -04:00
2021-05-05 13:24:11 -07:00
2020-03-11 23:07:59 -04:00
2021-04-13 00:16:42 -04:00
2021-04-28 17:22:10 -07:00
2021-04-28 17:22:10 -07:00
2021-04-15 22:44:40 -04:00
2021-04-28 17:22:10 -07:00
2021-04-28 17:22:10 -07:00
2021-05-20 14:41:35 -10:00
2021-01-22 21:14:07 -05:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-04-28 17:22:10 -07:00
2021-04-06 09:28:17 -06:00
2021-01-22 21:14:08 -05:00
2020-03-11 23:07:59 -04:00
2021-03-24 23:07:14 -04:00
2020-09-02 22:49:06 -04:00
2020-08-23 17:36:59 -05:00
2021-04-13 00:20:48 -04:00
2021-04-06 09:28:17 -06:00
2021-04-17 20:25:33 -07:00
2020-12-07 20:24:09 -05:00
2021-01-22 21:14:07 -05:00
2020-10-14 15:15:35 -07:00
2021-04-15 22:44:40 -04:00
2021-04-15 22:44:41 -04:00
2021-01-26 22:11:17 -05:00
2020-12-07 20:24:09 -05:00
2020-12-07 20:24:09 -05:00
2020-08-23 17:36:59 -05:00
2020-10-14 15:15:35 -07:00
2021-03-24 23:03:43 -04:00
2021-04-28 17:22:10 -07:00
2021-04-28 17:22:10 -07:00
2021-04-28 17:22:10 -07:00
2021-04-17 20:25:33 -07:00
2021-06-01 07:44:32 -06:00
2020-10-14 15:15:35 -07:00
2019-07-11 15:14:01 -07:00
2021-04-28 17:22:10 -07:00
2020-02-24 15:01:57 -05:00
2021-04-06 09:28:17 -06:00
2021-04-06 09:28:17 -06:00
2021-01-22 21:14:10 -05:00
2021-04-13 00:20:48 -04:00
2020-10-14 15:15:35 -07:00
2021-01-22 21:14:12 -05:00
2019-07-11 15:14:01 -07:00