From nobody Tue Sep 9 22:25:28 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17E03C61DA3 for ; Tue, 21 Feb 2023 03:56:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233232AbjBUD4B (ORCPT ); Mon, 20 Feb 2023 22:56:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232622AbjBUDz6 (ORCPT ); Mon, 20 Feb 2023 22:55:58 -0500 Received: from a11-6.smtp-out.amazonses.com (a11-6.smtp-out.amazonses.com [54.240.11.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BACF520543; Mon, 20 Feb 2023 19:55:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gwkuid74newif2lbp44dedrl2t4vmmbs; d=benbenng.net; t=1676951754; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:References:Message-Id; bh=wWuGziIX9fQkIFd9rl78n1jnQkCVXJxJDq0c7atPrmc=; b=Jp4qtkqwuU5YZyleeZXBwsc2YmCFdZ65s1Dv+2ES2+GphHVSjXFRwz2NRXkuM4ki aq5w6vfVCh4mucVjSfP26biBteYHlA7aWSy7XrPSJmD5a7WxGW44ESBtZKRbi96q9UP CvJUGJgC1kV9/JwAJ9DSC1RwLxcam72xj6YZKsHZv47o2mSRX036PnUI0FOuaNAITci A0GXEAnMqiCN52lcWivpcIELTFf4ciTx/fXpvusnkmv7dMUnMZ81KxFuwnVzi8EDXJE vYf97mazFnuyo0o8CSPssJJLW8loKVcGJmoWQzV4E4+iwlwSW4AaV+SAvo7zYge7IGP KGWUmjAo8A== DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1676951754; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:References:Message-Id:Feedback-ID; bh=wWuGziIX9fQkIFd9rl78n1jnQkCVXJxJDq0c7atPrmc=; b=b/Ce05Zyqwn8gBihrcqH1JmyjNcYPJnm0NDrEXbZTqG+uxXjFkS58q0QFwYtO7zo WjXFVs+tGu/V/9QIR7ZYO8MRd/py5EGWS2r/9bfqxrcxkym0DR0ZVqQpSdQZ/zpsYcW u2EUdBqChhVr1OXnBe59f4y5CyYO5+WaLWHfDddQ= Subject: [PATCH] Update documentation of vfs_tmpfile From: =?UTF-8?Q?Hok_Chun_NG_=28Ben=29?= To: =?UTF-8?Q?viro=40zeniv=2Elinux=2Eorg=2Euk?= Cc: =?UTF-8?Q?Hok_Chun_NG_=28Ben=29?= , =?UTF-8?Q?linux-fsdevel=40vger=2Ekernel=2Eorg?= , =?UTF-8?Q?linux-kernel=40vger=2Ekerne?= =?UTF-8?Q?l=2Eorg?= , =?UTF-8?Q?skhan=40linuxfoundation=2Eorg?= Date: Tue, 21 Feb 2023 03:55:54 +0000 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <20230221035528.10529-1-me@benbenng.net> X-Mailer: Amazon WorkMail Thread-Index: AQHZRahkSbYuKExlQEa1ZMKqo2I0mw== Thread-Topic: [PATCH] Update documentation of vfs_tmpfile X-Original-Mailer: git-send-email 2.34.1 X-Wm-Sent-Timestamp: 1676951753 Message-ID: <01000186721d17f8-ab0c64f0-a6ae-4e43-99a3-a44e6dba95b6-000000@email.amazonses.com> Feedback-ID: 1.us-east-1.LF00NED762KFuBsfzrtoqw+Brn/qlF9OYdxWukAhsl8=:AmazonSES X-SES-Outgoing: 2023.02.21-54.240.11.6 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" On function vfs_tmpfile, documentation is updated according to function sig= nature update. Description for 'dentry' and 'open_flag' removed. Description for 'parentpath' and 'file' added. Signed-off-by: Ben Hok-Chun NG --- fs/namei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 309ae6fc8c99..21261163d6d3 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3571,9 +3571,9 @@ static int do_open(struct nameidata *nd, /** * vfs_tmpfile - create tmpfile * @mnt_userns: user namespace of the mount the inode was found from - * @dentry: pointer to dentry of the base directory + * @parentpath: path to the base directory + * @file: pointer to the file struct of the new tmpfile * @mode: mode of the new tmpfile - * @open_flag: flags * * Create a temporary file. * --=20 2.34.1