From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19D7EC63777 for ; Tue, 24 Nov 2020 16:50:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B6B35206D9 for ; Tue, 24 Nov 2020 16:50:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kdPY7EPV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731540AbgKXQuz (ORCPT ); Tue, 24 Nov 2020 11:50:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:53080 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726929AbgKXQuz (ORCPT ); Tue, 24 Nov 2020 11:50:55 -0500 Received: from localhost (82-217-20-185.cable.dynamic.v4.ziggo.nl [82.217.20.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E2FA5206D8; Tue, 24 Nov 2020 16:50:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606236653; bh=RpSMeT8lAld3kCRRKNL/SVKeYyECnwZ8HTXcvKgJogc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kdPY7EPVVWGAJASen/4PG3vXeci5sc4povnjfnGssOih3Bp3MJGyeCQbU3mb2U4SR TSRUi1SDkKi9NhVbi15sUxKm3QrKfLR2GfPqmDcKABIMzcjzMIloBrQMNO5rH5yvTH 8sSbCa4myLUhK+mvY9w09JCvW5zARo4YMUDuCrNM= Date: Tue, 24 Nov 2020 17:50:50 +0100 From: Greg KH To: Pavel Begunkov Cc: stable@vger.kernel.org, Jens Axboe Subject: Re: [PATCH 1/2][5.9 backport] io_uring: get an active ref_node from files_data Message-ID: References: <075a6b4e7a9235d13b08b1f13f461846fbb97673.1606170275.git.asml.silence@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <075a6b4e7a9235d13b08b1f13f461846fbb97673.1606170275.git.asml.silence@gmail.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 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 > Cc: stable@vger.kernel.org # v5.7+ > Signed-off-by: Jens Axboe > --- > fs/io_uring.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Both patches now queued up, thanks. greg k-h