From patchwork Wed May 24 10:08:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wu Bo X-Patchwork-Id: 13253731 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88AE4C77B73 for ; Wed, 24 May 2023 10:08:47 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1q1lQD-00044w-Cr; Wed, 24 May 2023 10:08:45 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1q1lQ7-00044o-0T for linux-f2fs-devel@lists.sourceforge.net; Wed, 24 May 2023 10:08:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=MIME-Version:Content-Type:Content-Transfer-Encoding :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cbWJl+unvZxSbAGq8mOhN1a2E2HqCJMHd8IlLW533MQ=; b=c9G1SURI/xwwN0JURbmWz2lLER 5onzZqkQ0F+Yaz4aC/4YMl8hvEV2c8SJyIX2AXFEBizJO1IiyOveIA1LxpR91P9Zn0B65zvbi8U3A jHAkHDdFIdNqx5SfThbaaUU9HAFVh2Aa8vDdQfXXukC/HOJUfjWU2Od5qg833fEZso0g=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=cbWJl+unvZxSbAGq8mOhN1a2E2HqCJMHd8IlLW533MQ=; b=e KTFzuOzXppuabaAguYPjqFgblT2/YUvfoKQbRhSwsL6WJ6GwXw0SHORnt4+uiGQLy8L0oxAPjQ3uj qyxhF9dp+IqbJ4wGsK9wLbRax7TB5Cu4PBJr+Z5QSyq6s+lnVLQYHV0QP7IvMuBsXmu4CjLhoUOYu JLU3v+YI95MAr4OY=; Received: from mail-sgaapc01on2099.outbound.protection.outlook.com ([40.107.215.99] helo=APC01-SG2-obe.outbound.protection.outlook.com) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1q1lQ0-001FkF-FE for linux-f2fs-devel@lists.sourceforge.net; Wed, 24 May 2023 10:08:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ePaiVVm5Zd0ndBNJeeGNgk4Uj/bLdGkoikdWzKDRnWQmIGj1RVqG7/bG0FTlkjNnWDbctpy/gF7iFd52DgroyI1mf1oVH10+YuXLo5wxLY40f805jfWq0xEhTQJrFwUnQao+gYEz47JigfgNkZ8tZVLnArXZFfvXwnoMTbN8qEYT94Y/PMo+PkWPRJwDw0gJx7YXVHS81BnHYdiMfWzy4b5+AiPvNPCXOJVESJGK0HnD6qs0gk2rDkkPx8L1+xaHE+BYnD7iQebifuMKw8UOMjErjEi2SHPStPPSgTvPwlF2+8BOHi7ai2buKDLey6Mf+QZvpZOUFRwFSKMsl83Dxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cbWJl+unvZxSbAGq8mOhN1a2E2HqCJMHd8IlLW533MQ=; b=byyZK/pYYFclGel60E2TbMEuds+/J/zWqYdDt1NwmZ3amp5y9vuyfiKeJm4tR5ivFaGrLngDMCK2gDAvJEZs3RQzG+ScRASr3NETIA/MbXP1RVHE/7XWrIS2jTluSqUW15DbLxYJV+3sImrIxfnlvLM/DnjTEK6iHO/LMMITcYxKiGcxSj3ZorSYbwvm20be7zJKrRKqkPRG+zm6ZHob/u+LT3UQQ9McDA9hWMiXlKKXWZ2UkTSEskaBKlnAarLIJDxcdt+J0aZGmTyM6Z2xRLUiEhUV8ZecetoO5uang6b6Pu59OYm90n6/JXwiuV/M8hr7IQPXt/MLjNpc/Pkarw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cbWJl+unvZxSbAGq8mOhN1a2E2HqCJMHd8IlLW533MQ=; b=MiP6iE/MtwmkZdaDpcjQphtew0jOS6XgMiGJbWD1pRfXq3xyUBZwKe2er32UYiAEb/I+dbY+9NFGMF4mjKlW8J0F07r8hFjpZEeygRoYQZYDJomVhBQAf/3I5EOQEHjvGABgcU3gEKRRUB4Z2qgh+qz3h+BO8c8OLm5Ejmr79Y+fqLyCJhxTCNZCHB4nTIoWNNA+kXSVj1yHMYs2LkqAO2BI2v88H0X+jJ6qQ/VwO7Eaj0Fb2yPLbxyorcgu0gxd4PCW0g8tMFGjhHEqjrddwP8yJ5w3oLJDA171b3DuFmFcBY7DfxKW6/wfgOxmvocoXhse3jJ67reKEBs39bCv0w== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SL2PR06MB3017.apcprd06.prod.outlook.com (2603:1096:100:3a::16) by PSAPR06MB3925.apcprd06.prod.outlook.com (2603:1096:301:2b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15; Wed, 24 May 2023 10:08:23 +0000 Received: from SL2PR06MB3017.apcprd06.prod.outlook.com ([fe80::b895:d992:299e:32d4]) by SL2PR06MB3017.apcprd06.prod.outlook.com ([fe80::b895:d992:299e:32d4%7]) with mapi id 15.20.6411.028; Wed, 24 May 2023 10:08:23 +0000 To: Jaegeuk Kim , Chao Yu Date: Wed, 24 May 2023 18:08:12 +0800 Message-Id: <20230524100812.80741-1-bo.wu@vivo.com> X-Mailer: git-send-email 2.35.3 X-ClientProxiedBy: SI2PR04CA0004.apcprd04.prod.outlook.com (2603:1096:4:197::22) To SL2PR06MB3017.apcprd06.prod.outlook.com (2603:1096:100:3a::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SL2PR06MB3017:EE_|PSAPR06MB3925:EE_ X-MS-Office365-Filtering-Correlation-Id: 8aba4389-1a8e-4983-d37e-08db5c3eceb2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dDaCyEsQUz3Ow1jGM6yHa6HQl4dFJxryVH+lLurIZGdV5hDOXuYIKXMkQa8/cqDyhttkd/inelq6n/IYIWZal66LnlkeJofMZuEUps1YfdMkyvzrfUIGMU1oaqdsuHBaMA54GP1At9aPF+3mVwF2n+ceBlhIdysdEwqhIIqRnYQkON2tLms3S0zm1dEl8T4Rzi2zeDzaftl5y3Ydg/ip8lfAPC4KdJ1lnh3BRghvfuzkNgb1WE2neOIlxhudemk8eXdtfjacJoD7pVFloNyhYXIqiXx9ZZ/mqd8aLrmnAT1/a0RFCiieHjM/jwy8kTDBKIQDgazBtG+9XiPMmJW73d8UP3CyN80OOHq9e9bzyQgrIZwTB3gOYoWJgOU/hVyvhdzCJIRstxO6YS0sF2BH1VZu09olP1L1CUBHzChNG55kF4Um1i3gJcd5o5DgpmSg9bWSNJNv8eWy6h/KGxmwrF5zbSNVhGB/nzL4xk59m1KBGMYgNtNE8Vk8SkkOa2VJSCYL0FTLy8qK2yBv3aBqjKkMjeW74ZeGWcBjEi25oCMnqGh3vnGSxXubzDHiCt+WNq3LiQ/FHaxGwSxsAJ95h17Fo8YDGInr3ywgKdTs5lMo0S9f35nq6jgrvzyjr7JZ X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SL2PR06MB3017.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(366004)(376002)(396003)(346002)(39860400002)(451199021)(5660300002)(8676002)(8936002)(2906002)(186003)(4744005)(36756003)(83380400001)(2616005)(86362001)(38100700002)(38350700002)(6512007)(6506007)(26005)(1076003)(107886003)(316002)(66476007)(66556008)(66946007)(4326008)(6666004)(110136005)(478600001)(6486002)(52116002)(41300700001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Zc5kEGYdyuIZPEB1/VbZUbQRJaTHIe57CTVByr9ZhETP2DT6pEHq/d4UhzOCKNFISnuDRZrF0KpDPknsj0Mcv8v0YEvecBNBpqam96AnC5VKUvTKhbfjn/i1d5p0U/00ACU7Jgy1PRiYi0wCBedkfgRgiCkfrz0WdWC9N1DzHuZYRDw2wAiWbXID0kWFuvOIzyuUjnPTTBu9YqtSd2z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bQNLoH8/IlQ9hnbGXTx0z4kd0PXa7e9aVB1MalFV1n68aViv7PD5VVVWTPI76MN5czXeCvZ00ZTPenXh8iiRX+65VirU/jIq6KyVMjShrUfmqsuGMfsGnjVvA3I58FrcG9XW6vZH3twvA9jgXxfBu6E+Q7g50irkzU+/OWFdSxIWDVHXzPN99TzxJ0ee13A7GiojgSwqpU2eWCk39XtW3ISV5LO6HD4WIoy0InvQJVnkEtng5euVkd0uAxxv91WROxGBcBhMh3Tll1Mr39wrbcg8+qpDjeNoQv1kuDKKyL2raU X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8aba4389-1a8e-4983-d37e-08db5c3eceb2 X-MS-Exchange-CrossTenant-AuthSource: SL2PR06MB3017.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2023 10:08:23.3844 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vWpr08kPzoSSaPdZytltp6QrLVRBAu2gA40/casTtq7GshLbxST18Jc1l/Ddv60C1w4C3f26Usg8/HGrg1M8xg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR06MB3925 X-Headers-End: 1q1lQ0-001FkF-FE Subject: [f2fs-dev] [PATCH 1/1] f2fs: fix args passed to trace_f2fs_lookup_end X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Wu Bo via Linux-f2fs-devel From: Wu Bo Reply-To: Wu Bo Cc: wubo.oduw@gmail.com, linux-kernel@vger.kernel.org, Wu Bo , linux-f2fs-devel@lists.sourceforge.net Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net The NULL return of 'd_splice_alias' dosen't mean error. Signed-off-by: Wu Bo --- fs/f2fs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 77a71276ecb1..e5a3e39ce90c 100644 --- a/fs/f2fs/namei.c +++ b/fs/f2fs/namei.c @@ -577,7 +577,7 @@ static struct dentry *f2fs_lookup(struct inode *dir, struct dentry *dentry, #endif new = d_splice_alias(inode, dentry); err = PTR_ERR_OR_ZERO(new); - trace_f2fs_lookup_end(dir, dentry, ino, !new ? -ENOENT : err); + trace_f2fs_lookup_end(dir, new ? new : dentry, ino, err); return new; out_iput: iput(inode);