Files
linux/drivers
Josef Bacik 00946218ff nbd: use bd_set_size when updating disk size
commit 9e2b19675d upstream.

When we stopped relying on the bdev everywhere I broke updating the
block device size on the fly, which ceph relies on.  We can't just do
set_capacity, we also have to do bd_set_size so things like parted will
notice the device size change.

Fixes: 29eaadc ("nbd: stop using the bdev everywhere")
cc: stable@vger.kernel.org
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-26 08:06:32 +08:00
..
2018-05-16 10:10:29 +02:00
2018-06-16 09:45:18 +02:00
2018-06-16 09:45:14 +02:00
2018-06-11 22:49:19 +02:00
2017-12-29 17:53:46 +01:00
2018-01-17 09:45:27 +01:00
2018-06-21 04:02:42 +09:00