On Thu, 20 Apr 2023 17:11:04 +0800, Ming Lei wrote: > Commit 2d786e66c966 ("block: ublk: switch to ioctl command encoding") > starts to reset local variable of 'ret' as zero, then if any failure > happens when handling the three IO commands, 0 can be returned to ublk > server. > > Fix it by returning -EINVAL in case of command handling failure. > > [...] Applied, thanks! [1/1] ublk: don't return 0 in case of any failure (no commit info) Best regards, -- Jens Axboe