summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-02-22 08:24:17 +0100
committerJens Axboe <axboe@kernel.dk>2024-02-27 14:21:15 -0700
commitfb5d1d389c9e78d68f1f71f926d6251017579f5b (patch)
tree9a47957fc30b8b74942309a8261f14d52b0076ae /block
parentf3c17dcc43e207e4fba511e9e63d52f7098ad6f3 (diff)
downloadlinux-fb5d1d389c9e78d68f1f71f926d6251017579f5b.tar.gz
linux-fb5d1d389c9e78d68f1f71f926d6251017579f5b.tar.bz2
linux-fb5d1d389c9e78d68f1f71f926d6251017579f5b.zip
ubd: open the backing files in ubd_add
Opening the backing device only when the block device is opened is a bit weird as no one configures block devices to not use them. Opend them at add time, close them at remove time and remove the now superflous opened counter as remove can simply check for disk_openers. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Richard Weinberger <richard@nod.at> Link: https://lore.kernel.org/r/20240222072417.3773131-8-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions