diff options
author | Jan Kara <jack@suse.cz> | 2019-01-14 09:48:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 21:40:38 +0100 |
commit | 9a9c3c02eacecf4bfde74b08ed32749a4929a2cf (patch) | |
tree | 4f4ea6019d8a1a5c59dc91aabe4a7f66b009ebfe /tools/testing | |
parent | 685cc9c3ee488ed5a1218b9c8294f65000bbbc86 (diff) |
nbd: Use set_blocksize() to set device blocksize
commit c8a83a6b54d0ca078de036aafb3f6af58c1dc5eb upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions