Christian Brauner ab838b3fd9
block: remove bdev_handle completely
We just need to use the holder to indicate whether a block device open
was exclusive or not. We did use to do that before but had to give that
up once we switched to struct bdev_handle. Before struct bdev_handle we
only stashed stuff in file->private_data if this was an exclusive open
but after struct bdev_handle we always set file->private_data to a
struct bdev_handle and so we had to use bdev_handle->mode or
bdev_handle->holder. Now that we don't use struct bdev_handle anymore we
can revert back to the old behavior.

Link: https://lore.kernel.org/r/20240123-vfs-bdev-file-v2-32-adbd023e19cc@kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-02-25 12:05:28 +01:00
..
2024-02-25 12:05:28 +01:00
2023-06-30 11:57:07 -07:00
2024-01-11 13:58:04 -08:00
2023-09-22 08:52:13 -06:00
2023-06-26 12:47:20 -07:00
2024-01-18 18:22:40 -08:00
2024-01-11 13:58:04 -08:00
2024-02-25 12:05:28 +01:00
2023-06-30 11:57:07 -07:00
2024-02-25 12:05:28 +01:00
2023-11-01 12:30:07 -10:00
2022-03-07 12:48:35 -07:00