summaryrefslogtreecommitdiffstats
path: root/Documentation/fpga
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2024-01-23 14:26:49 +0100
committerChristian Brauner <brauner@kernel.org>2024-02-25 12:05:28 +0100
commitab838b3fd9a442a62f36ea7eeb93e77259f787ce (patch)
tree961c6004ba64d9575d47201d83d33ff1bc97b39a /Documentation/fpga
parentblock: don't rely on BLK_OPEN_RESTRICT_WRITES when yielding write access (diff)
downloadlinux-ab838b3fd9a442a62f36ea7eeb93e77259f787ce.tar.xz
linux-ab838b3fd9a442a62f36ea7eeb93e77259f787ce.zip
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>
Diffstat (limited to 'Documentation/fpga')
0 files changed, 0 insertions, 0 deletions