Message ID | TY0PR04MB63289A9B7B7B93685255DACB81242@TY0PR04MB6328.apcprd04.prod.outlook.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Received: from mx07-001d1705.pphosted.com (mx07-001d1705.pphosted.com [185.132.183.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D42E182D2 for <linux-fsdevel@vger.kernel.org>; Mon, 11 Mar 2024 04:25:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=185.132.183.11 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710131145; cv=fail; b=RR3j/FwilTeFJI34YBotBlcvAyLVg1PRR9jY2Th5OOlBdJFMysRsVn/tiVACPgRKzgNn4R1CHfyEZLqG8UP6eOlt5yut/7L5tAT64aWgPFvWWOm8394J7e2WVzjhGi1xHCgttfOcv10DdBPbjbD3ygvqjD0/Uj4VV9XnslFVk/g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710131145; c=relaxed/simple; bh=Yzb+w1u1OfVmDuaSY0BjFftuB/fbJOqOOoUZEpAHqdE=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=eLo4uV63+fe34TghLFd9ouzK5lqYNDdbitMx6SvVsWROfPuCCM0ieNUBAIxenY7pcJrfDc2iQ0KWsCrOMpPAbllRR4V5SblvNOde3AZ3h3x/rAxQ9+oA4RclR9kp+q7rXigm3sCejHz55DUK/Ge3ScLXF7aPyILd/OsphelLGr4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sony.com; spf=pass smtp.mailfrom=sony.com; dkim=pass (2048-bit key) header.d=sony.com header.i=@sony.com header.b=CZVYWJY5; arc=fail smtp.client-ip=185.132.183.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sony.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sony.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sony.com header.i=@sony.com header.b="CZVYWJY5" Received: from pps.filterd (m0209326.ppops.net [127.0.0.1]) by mx08-001d1705.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 42B0MdoX032336; Mon, 11 Mar 2024 04:25:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sony.com; h=from : to : cc : subject : date : message-id : mime-version : content-type : content-transfer-encoding; s=S1; bh=Yzb+w1u1OfVmDuaSY0BjFftuB/fbJOqOOoUZEpAHqdE=; b=CZVYWJY5Ohto8e2T5X2pX8kITCdPfYX6BkGmBf+kFAcjfRjtpltO6ODOP0u0omvRgaL2 Fs2vp3etJtSKsikCOtcxjN6RNhqZRX2ofwqMxaFa5WUt3bFS5ovozfoqQ63CtlgliTk6 qDZDhUvvsosvhhDZHViQ9Lsp4v/fJ2i39bZdO2X/cabz5XQIRpvQPazobztFBiH/gl7d apJQ2pRAlFtBn/nJ9EkkpxM3hzZNBscY0s03kJ2KhOqmNVPhevTwOeTY42DAakCvVUKb YnA/ZAH8GuhoqtGsfJkH+TviiTyysCBVJfIYo08V7JPERn9FQzMH43pzUswY1QFNtQbN 6Q== Received: from apc01-tyz-obe.outbound.protection.outlook.com (mail-tyzapc01lp2040.outbound.protection.outlook.com [104.47.110.40]) by mx08-001d1705.pphosted.com (PPS) with ESMTPS id 3wrdyk1knh-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 11 Mar 2024 04:25:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fMHmug9rUXJyWqQd6RvGGEZkivopjTe6AwgibNyf2IXlBFgyVCISh/mA9EymaKmsrEND1OKz3CK7EYvC3EGlW01xSt+aBEnXEo0RztAALb3bn7iUuSR4f5GO+lNYoiMxBr3MO4MbAT9uQX0zkUbbhEj0MWkt3pmXpQMBwGQtf4zeSlHVjJZjgju9E1hWIs2X1W6uGPc5b3Tu5fFydEU5zB29Wdvg8tK/jev/O8BHpPDwFErrjNsj9ETH6IE5wyMC8v5VF3NC1nLJGvc+i/Zb6gBYXdwC+d/cBr4M9dbMNdevWBKdWSzSt4y9H/qBnlPSWwewcU9KcCS6SbQVq4VEsQ== 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=Yzb+w1u1OfVmDuaSY0BjFftuB/fbJOqOOoUZEpAHqdE=; b=hGx5mWotJpAAxoBUp3SpuEfaQU6XaA/S9x2uiDdHG+fe9Uwp5RzQ5v80gnA34zCal6IeS+ZL0gYh+0SDsDIhlDsM/bGDopr/z0AR/ZPA1RF8jACivm81bfpln8Tq91J1q7WiZkzOj+OY1XrZM7ip/IaJEWQ0qQJWC6r92BgE1rmSaFmLI6qux5O5XYjN5XnWevhX0qU32xSsPY2irY5rOizaoWDtw8ILkBzMMXqVSiGeUdakCjoTK70bgE7rcc2cXgBingHx738D+cY50srV6qgS+5P7Nit6VF51hygw+pKt3N3+0X4HEE0KFiARdQQoA0TjCAFIrnhQoTSipY7oew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sony.com; dmarc=pass action=none header.from=sony.com; dkim=pass header.d=sony.com; arc=none Received: from TY0PR04MB6328.apcprd04.prod.outlook.com (2603:1096:400:279::9) by TYZPR04MB6635.apcprd04.prod.outlook.com (2603:1096:400:33f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.28; Mon, 11 Mar 2024 04:25:31 +0000 Received: from TY0PR04MB6328.apcprd04.prod.outlook.com ([fe80::c5b0:d335:658e:20bd]) by TY0PR04MB6328.apcprd04.prod.outlook.com ([fe80::c5b0:d335:658e:20bd%7]) with mapi id 15.20.7362.031; Mon, 11 Mar 2024 04:25:31 +0000 From: "Yuezhang.Mo@sony.com" <Yuezhang.Mo@sony.com> To: "linkinjeon@kernel.org" <linkinjeon@kernel.org>, "sj1557.seo@samsung.com" <sj1557.seo@samsung.com> CC: "linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>, "Andy.Wu@sony.com" <Andy.Wu@sony.com>, "Wataru.Aoyama@sony.com" <Wataru.Aoyama@sony.com> Subject: [PATCH v3 10/10] exfat: remove duplicate update parent dir Thread-Topic: [PATCH v3 10/10] exfat: remove duplicate update parent dir Thread-Index: Adj06Ci11I/FwWfHSMqug1ChQRO1bV+gzWRA Date: Mon, 11 Mar 2024 04:25:31 +0000 Message-ID: <TY0PR04MB63289A9B7B7B93685255DACB81242@TY0PR04MB6328.apcprd04.prod.outlook.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TY0PR04MB6328:EE_|TYZPR04MB6635:EE_ x-ms-office365-filtering-correlation-id: a5cd984f-e090-4224-2606-08dc41834998 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zVtuYKwcvTAf+e0gpuSg7IpqACERKFqk/UGAFuN27Yh3Bx8FhTzrQN2UhQTZpOk9iClc9po3gT+j8tyBTnAmzVkl96ai5T3ETiIji9FbBtTrNbehIdaJ8wUo+DkRP+mkbXW8Bf4lFYEvYkX0i6q5FIzZC1SVhMdN5hFD6wW9J2dPEEgLPE1/MHmsPI75oNLTsWdcxqtbn9tnuuBk/1pNvd7sKFUqtpogX3j2cwf6YoD94wc/67oTFUtBP79YWH8zB7l+PU1UJZyJ3jyxzpvf2PYhCfVXAgjRTkVcGaQkUpwhOFIRUqllYwouqV1SwSxfxz2gNXBIk5dSx4/QGSoMtRpPAjlQ9GKHwPSIkn0gjgySzekSVvBUtgFaOrQVCpxs8rQjOVQZUEX2XYYTz7rg4My9pjzBfZ18GSV/KMM9CNwlSnZuhT2X0/Jl1nJHp+LlqbE/iPqSewY+RYuSLvKfofWiFkp9co6vVbwA8twI5SGEEimOn6uzRpPIShOtvWkMuPGkiXcoka2C/7qFVSrLVwuUL9Ky1ynfVHnj4c16AKw9kU+2XEww6afFvCVQMtQnuU/c097xbulJg30LmueB/JvJxFeDKl6u/bvRw9fqcrpbUTrHAjNWSvst+PLLW6zBYo6qgvBii1yxR8ATIFrF84A9PvNS/PC+ON0NA8mMMkEU7BvRPFkSP8E/d4MH6wFmh4eso3dwzejKkZZscuzGpg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:zh-cn;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TY0PR04MB6328.apcprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?Xq9Nj9TpMEPsEXYUW0z54NF7zBAo?= =?utf-8?q?txZW+Tv8CZ7x/4y7DuZh9zPH1/JPwmpmQEd3imE+hLN8S8juEcsKd+BgIFuyKn3tg?= =?utf-8?q?Kd/DZ1hFsqZjZiIh560EcVcpUMG/izLrkRGmHIWTjgxHRLRC9RmsLXNQttQCi0oeg?= =?utf-8?q?mVnnJgp2KvwendnWz0e+RzqHL+RgN03gDQqhlDg9rkEYbURBm5f+c7aa5hagEqBbr?= =?utf-8?q?UqlbE4++qbyPPxjngoHP+LXgVCa70kWGBtDkczPzE6tDacftPw7t/K6XX/3bpjeMc?= =?utf-8?q?1uMc9itHikGqKDGJ1RzYVtjtYvP9q0ouC4o6atEhK8NsaUmnFU0cDg/wLh0tjLSLw?= =?utf-8?q?TL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cYiSst8CP/8gvDiLPEMUXbepF9yzxYwvCQNLZO5VbhevdMlv2aQA7?= =?utf-8?q?MWCcEwGRsR+CiWIH1Sx0l1QMX2m3TRKucE+TrSSWCuiUKcxUDs4XyOLWHHnfL3/fD?= =?utf-8?q?4mKbPEp1r6Di4UWrYYWVDPc6wyALncyXoI0QZ3Sb6WKN1ZvY1IH/DG+s4OXYj6zQ3?= =?utf-8?q?RS4Z4BO0ZWWvL4a8zSvs6yOYDQs+hxtoB8zHI/SZdCG3YVaEHqk+VCMiUWQzERXqJ?= =?utf-8?q?YYlLrOCstzE1LUk0x5WMw67Nzted5neb88bICXfuJYyAYrlK5r3voBc9qzdmzisz2?= =?utf-8?q?58wlMxBsxCQ0?= Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: <linux-fsdevel.vger.kernel.org> List-Subscribe: <mailto:linux-fsdevel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-fsdevel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: QQQNwnE08O12OwmGyjOdgqmyKkyN6C0zHAmlcdrBTBklA0/U+azQW01JXGh+MiLuvIHQ1swAJyER06MGOiKPoeKidGOPcH0zsIldNVASjhLc2JK138Cuzb9F+uovUP/mxCedsBM1dhIk5b+KADhe9wDvR6jFpTk3/bigYhKF92MTw71ZUyIM3aqwJK0NogMlG8AP/aRPnL09v1w5ASVTfsPQJJYuyLiRDpSc26g5LtN1SnZ2UnQFJZWKp0Quaeo83M1gxjvXx7lFRrW/ds88TswuTGw/MG2DqloFSBFPqScZixUcL3gc4tzW02sTMqB/U12u6PfTGoxl4y0xjqsHVCRtpm5/fkJsoufx08BbPOHKxHDBFbjvmyWvaZ4etgQLtqrf6BwwOvEChYJ46mdqmfh/IBUxBIxQ5KzaCBYS4JKsZU/vLi4jO6KhPmR3XBmdehjNJPQC2QqJMPBEFmbmI36c0F06rwNYH0x5CMWhOVydi5jn97Y70FndGWevSqz37K4AsyLh+JnTSk26FRHaf2tp4K0nzSIUdhIhRa0TT11Fo2V2f66wBqMD+yjkPgkzhFXXAeAn6hluXcPa48mTDKoLmGNFz0lzqEViS+7w1/KWiZXfXn/2YeIlqXeJj3wD X-OriginatorOrg: sony.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TY0PR04MB6328.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5cd984f-e090-4224-2606-08dc41834998 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2024 04:25:31.0604 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 66c65d8a-9158-4521-a2d8-664963db48e4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: M9v6z40WDuecgdnXjSeePtTwVzZVmfuc29nMX+6c3yVNiAK9rSpwMpp1NjjJkZXqmWRPpzTlUsQbjwhKmS+YDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6635 X-Proofpoint-GUID: 72oXybfPp7ky4HPb2-fxHbUQ0arDBjlq X-Proofpoint-ORIG-GUID: 72oXybfPp7ky4HPb2-fxHbUQ0arDBjlq Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Sony-Outbound-GUID: 72oXybfPp7ky4HPb2-fxHbUQ0arDBjlq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-11_01,2024-03-06_01,2023-05-22_02 |
Series |
[v3,01/10] exfat: add __exfat_get_dentry_set() helper
|
expand
|
diff --git a/fs/exfat/namei.c b/fs/exfat/namei.c index b33497845a06..631ad9e8e32a 100644 --- a/fs/exfat/namei.c +++ b/fs/exfat/namei.c @@ -1281,7 +1281,8 @@ static int exfat_rename(struct mnt_idmap *idmap, } inode_inc_iversion(old_dir); - mark_inode_dirty(old_dir); + if (new_dir != old_dir) + mark_inode_dirty(old_dir); if (new_inode) { exfat_unhash_inode(new_inode);