Re: [PATCH blktests] common/null_blk: check FULL file availability before write

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

 



On Jul 04, 2025 / 19:54, Shin'ichiro Kawasaki wrote:
> Commit e2805c7911a4 ("common/null_blk: Log null_blk configuration
> parameters") introduced the write to the $FULL file in
> _configure_null_blk(). However, the $FULL file is not available when
> _configure_null_blk() is called in the fallback_device() context. In
> this case, the write fails with the error "No such file or directory".
> To avoid the error, confirm that $FULL is available before write to it.
> 
> Fixes: e2805c7911a4 ("common/null_blk: Log null_blk configuration parameters")
> Link: https://github.com/linux-blktests/blktests/issues/187
> Reported-by: Yi Zhang <yi.zhang@xxxxxxxxxx>
> Suggested-by: Bart Van Assche <bvanassche@xxxxxxx>
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx>

FYI, I have applied this patch.




[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