diff options
author | Jan Kara <jack@suse.cz> | 2019-01-14 11:48:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-23 10:09:51 +0300 |
commit | c2912ca3f893a14fd24a6cad165acf61f4d7bc01 (patch) | |
tree | 50023f31d241ce646d9eea29819aabce81f2356b /drivers/xen/xen-pciback/pciback_ops.c | |
parent | 4381a9484b4772589021c61e682177e1602b32fb (diff) | |
download | linux-c2912ca3f893a14fd24a6cad165acf61f4d7bc01.tar.xz |
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 'drivers/xen/xen-pciback/pciback_ops.c')
0 files changed, 0 insertions, 0 deletions