commit | c8a83a6b54d0ca078de036aafb3f6af58c1dc5eb | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Jan 14 09:48:09 2019 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jan 15 07:30:54 2019 -0700 |
tree | b1656f6ae8edb9a2ebce5a413fb127534555b899 | |
parent | 6251691a92170d3a781aaf7b5f2c31b50d669809 [diff] |
nbd: Use set_blocksize() to set device blocksize NBD can update block device block size implicitely through bd_set_size(). Make it explicitely set blocksize with set_blocksize() as this behavior of bd_set_size() is going away. CC: Josef Bacik <jbacik@fb.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@kernel.dk>