Skip to content
Commit f5217bf8 authored by Xiubo Li's avatar Xiubo Li Committed by Paul Gortmaker
Browse files

nbd: fix crash when the blksize is zero



commit 553768d1 upstream.

This will allow the blksize to be set zero and then use 1024 as
default.

Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Signed-off-by: default avatarXiubo Li <xiubli@redhat.com>
[fix to use goto out instead of return in genl_connect]
Signed-off-by: default avatarMike Christie <mchristi@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent cab886cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment