Files
linux/drivers/block
Josef Bacik 1a3f2c2c36 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 07:51:26 +08:00
..
2018-01-17 08:41:07 -07:00
2018-04-14 22:34:27 -06:00
2018-03-01 08:41:27 -07:00
2017-02-20 12:16:15 +01:00
2017-08-18 08:45:29 -06:00