Message ID | 20230306103531.1298202-1-roberto.sassu@huaweicloud.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1772842wrd; Mon, 6 Mar 2023 03:03:04 -0800 (PST) X-Google-Smtp-Source: AK7set+Q316pd9KLjBRC1mrV1c1MnXW10hViu4mFu+oMvdeBmyanlHT+IBf25/+o4UqefgCtF7xr X-Received: by 2002:aa7:9d07:0:b0:5a8:4bf8:1752 with SMTP id k7-20020aa79d07000000b005a84bf81752mr8845715pfp.32.1678100583426; Mon, 06 Mar 2023 03:03:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678100583; cv=none; d=google.com; s=arc-20160816; b=UvlITKoBLozerybM6cL/Xr9FGL85/VXBXI2vAyLcTeYUksfzqJ8vKWkfW5/qR/vn65 h9ESE5FUtGmzJfZXqEeqia4Bs5AOYsYxXz5k58B4qQl0D4j7W/jhfSA9hFc1jXE+u1ib IcmJYXbeumKt2cPhFp+LsVKK72fPnJwZb94L//IJgFdaJWt9FPLDE9AyRIqoh5qQBvEf IAz+pVCLx6euVeb1o99L8+NS+vGt28vPh4/mciBT64FuaeQ1myqLHDpeDn4IrcAlo63/ /BM0defs+Ioj/lER9YPh62AC2DBM53Xva86k6RxSh5fW2f7IeFT/z5IdZRKdlVKWFAoX GWzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ISZJ8x8PTMOqCvhTLjvtr9koIXclb52CdXg5/n/Wu4I=; b=DHxnYYrgN2XBg8CAEuEhyqI9Y0GIwxQYyvkR/M4DqiKg4OUKad7rP471PY9pEO17T6 usnhM4xt1V0lVBVhUKQr6ezl76/YONEcUBmQAzrJ5OweoqjTTR3qrJGT0ZdVDM3qovPx nayVALgDo8dqK+DTRaxqNbuxUZCXZdvSPpxTSC8JlauT/I93l7WZvLvHd77oqw+ZJTZR i8RBMuPoilehQGK2ubBjGVVT5zodjSNR5yRIihyHtJX+5Y3WGQ8afooBb+Ml1RHg5FMR 3FySRv4bldGy79KouZ4xzZnTwMXCneD2UW1s4JFMNi8d4RTpMUqWDcB56cC31DnIa9Sa Hpgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020aa7972c000000b005a48ecab9a1si9942105pfg.167.2023.03.06.03.02.50; Mon, 06 Mar 2023 03:03:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231248AbjCFKgL (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 6 Mar 2023 05:36:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231213AbjCFKfy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Mar 2023 05:35:54 -0500 Received: from frasgout11.his.huawei.com (frasgout11.his.huawei.com [14.137.139.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D29041ACE5; Mon, 6 Mar 2023 02:35:53 -0800 (PST) Received: from mail02.huawei.com (unknown [172.18.147.227]) by frasgout11.his.huawei.com (SkyGuard) with ESMTP id 4PVZWc2YYlz9xGYc; Mon, 6 Mar 2023 18:27:08 +0800 (CST) Received: from huaweicloud.com (unknown [10.204.63.22]) by APP1 (Coremail) with SMTP id LxC2BwCHCAT9wQVk+QB3AQ--.18482S2; Mon, 06 Mar 2023 11:35:46 +0100 (CET) From: Roberto Sassu <roberto.sassu@huaweicloud.com> To: viro@zeniv.linux.org.uk, brauner@kernel.org Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Roberto Sassu <roberto.sassu@huawei.com> Subject: [PATCH] fs: Fix description of vfs_tmpfile() Date: Mon, 6 Mar 2023 11:35:31 +0100 Message-Id: <20230306103531.1298202-1-roberto.sassu@huaweicloud.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: LxC2BwCHCAT9wQVk+QB3AQ--.18482S2 X-Coremail-Antispam: 1UD129KBjvdXoWrZw4rWF43tr1kXFy8ur4rKrg_yoWfZrb_uF Wvqr18uas8Xr17Aw4Fkryavry3u3Z8Ar13Gr4ft34IgFZ8Jr95AFWkArWfX34kZ3WxXr13 Cr92va4agF13WjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUboxYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z280aVCY1x0267 AKxVW8JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2 j2WlYx0E2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7x kEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkE bVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67 AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI 42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6Fyj6rWUJw CI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnI WIevJa73UjIFyTuYvjxUrNtxDUUUU X-CM-SenderInfo: purev21wro2thvvxqx5xdzvxpfor3voofrz/1tbiAQAIBF1jj4o6dQABs4 X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759372051215409886?= X-GMAIL-MSGID: =?utf-8?q?1759615996880888484?= |
Series |
fs: Fix description of vfs_tmpfile()
|
|
Commit Message
Roberto Sassu
March 6, 2023, 10:35 a.m. UTC
From: Roberto Sassu <roberto.sassu@huawei.com> Update the description of vfs_tmpfile() to match the current parameters of that function. Fixes: 9751b338656f ("vfs: move open right after ->tmpfile()") Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Acked-by: Christian Brauner <brauner@kernel.org> --- fs/namei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Mon, Mar 06, 2023 at 11:35:31AM +0100, Roberto Sassu wrote: > From: Roberto Sassu <roberto.sassu@huawei.com> > > Update the description of vfs_tmpfile() to match the current parameters of > that function. > > Fixes: 9751b338656f ("vfs: move open right after ->tmpfile()") > Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> > Acked-by: Christian Brauner <brauner@kernel.org> Applied (#work.misc)
diff --git a/fs/namei.c b/fs/namei.c index edfedfbccae..f04f7be5893 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3574,9 +3574,9 @@ static int do_open(struct nameidata *nd, /** * vfs_tmpfile - create tmpfile * @idmap: idmap of the mount the inode was found from - * @dentry: pointer to dentry of the base directory + * @parentpath: pointer to the path of the base directory + * @file: file descriptor of the new tmpfile * @mode: mode of the new tmpfile - * @open_flag: flags * * Create a temporary file. *