diff options
author | Jan Kara <jack@suse.cz> | 2019-01-14 11:48:09 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-15 17:30:54 +0300 |
commit | c8a83a6b54d0ca078de036aafb3f6af58c1dc5eb (patch) | |
tree | b1656f6ae8edb9a2ebce5a413fb127534555b899 /fs/block_dev.c | |
parent | 6251691a92170d3a781aaf7b5f2c31b50d669809 (diff) | |
download | linux-c8a83a6b54d0ca078de036aafb3f6af58c1dc5eb.tar.xz |
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>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions