Re: [PATCH 1/2][5.9 backport] io_uring: get an active ref_node from files_data

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

 



On Mon, Nov 23, 2020 at 10:34:06PM +0000, Pavel Begunkov wrote:
> commit 1e5d770bb8a23dd01e28e92f4fb0b1093c8bdbe6 upstream
> 
> An active ref_node always can be found in ctx->files_data, it's much
> safer to get it this way instead of poking into files_data->ref_list.
> 
> Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # v5.7+
> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
> ---
>  fs/io_uring.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Both patches now queued up, thanks.

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux