commit | 498ade7db232c10d3cbb2d63296d8ca3acec83cc | [log] [tgz] |
---|---|---|
author | Xiubo Li <xiubli@redhat.com> | Wed May 29 15:16:05 2019 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Oct 11 18:18:43 2019 +0200 |
tree | cb70445cc19bfa1897981862ea3f6285283d3eb6 | |
parent | 3f57d4b477491227e1270544c2d41d660e4ec893 [diff] |
nbd: fix crash when the blksize is zero [ Upstream commit 553768d1169a48c0cd87c4eb4ab57534ee663415 ] This will allow the blksize to be set zero and then use 1024 as default. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Xiubo Li <xiubli@redhat.com> [fix to use goto out instead of return in genl_connect] Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>