Re: [PATCH] ublk: don't return 0 in case of any failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux