aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-06-08 11:02:33 +0000
committerJens Axboe <[email protected]>2023-06-12 14:04:03 +0000
commit8cdf433e2b8e4fc6c7b4393deb93fb258175d537 (patch)
tree68c3626349538049e4efb67cad2caa83045d0cec /fs/btrfs/dev-replace.c
parentcdrom: remove the unused cdrom_close_write release code (diff)
downloadkernel-8cdf433e2b8e4fc6c7b4393deb93fb258175d537.tar.gz
kernel-8cdf433e2b8e4fc6c7b4393deb93fb258175d537.zip
cdrom: track if a cdrom_device_info was opened for data
Set a flag when a cdrom_device_info is opened for writing, instead of trying to figure out this at release time. This will allow to eventually remove the mode argument to the ->release block_device_operation as nothing but the CDROM drivers uses that argument. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Phillip Potter <[email protected]> Acked-by: Christian Brauner <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions