]> git.baikalelectronics.ru Git - kernel.git/commit
block: split __blkdev_put
authorChristoph Hellwig <hch@lst.de>
Tue, 25 May 2021 06:12:58 +0000 (08:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Jun 2021 13:44:56 +0000 (07:44 -0600)
commit01587c0b18d8ee6342222930f5b6b2723abfbe65
tree3de1dcbc1cc6e11c05a9a08cfec60b3e1123463f
parentf9e0f08bda346a127043b39c2363698ae9f1b0d5
block: split __blkdev_put

Split __blkdev_put into one helper for the whole device, and one for
partitions as well as another shared helper for flushing the block
device inode mapping.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20210525061301.2242282-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c