Re: [PATCH] io_uring: fix removing the wrong file in __io_sqe_files_update()

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

 



On 8/31/20 11:35 PM, Jiufei Xue wrote:
> Index here is already the position of the file in fixed_file_table, we
> should not use io_file_from_index() again to get it. Otherwise, the
> wrong file which still in use may be released unexpectedly.

Good catch! Thanks, applied.

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux