]> www.infradead.org Git - users/hch/block.git/commit
btrfs: no need to grab a reference to disk->part0
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Jun 2021 11:41:21 +0000 (13:41 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 21 Jul 2021 06:32:07 +0000 (08:32 +0200)
commit2a8af8266fa65428c27f32c6c7a5382512d6f49d
tree6c517654d140ff157e337b4c3154a5c58948c79b
parente0aa2cdc5f7288a22a53200d0ef037680d3fde09
btrfs: no need to grab a reference to disk->part0

The struct block_device for the whole disk will not be freed while
the disk in use, so don't bother to grab a reference to it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/btrfs/zoned.c