]> www.infradead.org Git - users/hch/block.git/commit
pktcdvd: use set_capacity_and_notify
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Nov 2020 14:51:11 +0000 (15:51 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 14 Nov 2020 17:22:22 +0000 (18:22 +0100)
commitb90cb39d5edcdcada80eecf14865f28b5d73b9fa
treef87b3d9ea2911228bd0eb7a468245a55b0bccc50
parent0362785bb185c27349751185875f6325bd1ce867
pktcdvd: use set_capacity_and_notify

Use set_capacity_and_notify to set the size of both the disk and block
device.  This also gets the uevent notifications for the resize for free.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/block/pktcdvd.c