Message ID | 20241218021411.42144-13-catherine.hoang@oracle.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 441C5450EE for <linux-xfs@vger.kernel.org>; Wed, 18 Dec 2024 02:14:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734488081; cv=fail; b=f8St4nq60QlVQrnO/o3kq2bR4AT3mhnGpp/XDKYHukj5PCX0JfvEQ7pcFEltir4BGUsGpB/2OhoVeN6TFVkJInalwzikFBzsvD1XimRHNsIFHRG/CdjGQbwP/mxUKOwUOOr6hErTIxGlmCWV+zYrdFfQFwzyH6onaysJ72FXLig= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734488081; c=relaxed/simple; bh=psZHwsuA9sy6e/QJFA7PJIVDL3CLHRoeMrUOAl6Zyzo=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=GALaAa8tPQHjigsD1H4BJBpYxe2NVZl/eRlILpigYkybVSf6nb318QfRGO0o9CYIM5lnUhTx4I4nneW4uNwNOpKS4lEhia6/SOEb9FEQ0dXz0p0cszYaQe8veP8S92Np9dKCsb19e4e1qJfs2Y5Fcdm2BIz0Jtrz/gvJkt+7HJc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=IK4q5QKW; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=dG5FYHE4; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="IK4q5QKW"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="dG5FYHE4" Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BI2BqoB001111 for <linux-xfs@vger.kernel.org>; Wed, 18 Dec 2024 02:14:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= corp-2023-11-20; bh=XqofHiSLi6EtRfVc+YEDTVFXeKI72cJeabGzqWd1wp4=; b= IK4q5QKWBuAiLdKe5X9VaFEjIehR75J2Tz9VEOGA74TJ9Ij+UN58fAyLY66plW8i 6keBln8cSRqBEhKnAMqJ/paYGyYXCKewocYW51jIaz5ijrYUG9hJH0fpZWTj2wIS VxnlMpLpiZ+YjlJ81BMcIwcc1Ta6T8Ii3Wyvxd6+tBnTpq0deEh8oJNJPKnXpr8a 1FWAWKR4Iz9cmx8AXrFybREZpDIO0bUXnnUiWZL6Q+tgLoD7nn/Lx2yR3ym+RUHk bXOk6wr59ERX4g+GAJNyxeS32RDiRqBHqByWgJk3NwSnMNmrS7ZsCADKoyhLMqIY K/2YuYzAlVXntWvlz4czpA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 43h0ec7fmj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <linux-xfs@vger.kernel.org>; Wed, 18 Dec 2024 02:14:38 +0000 (GMT) Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4BI0N95S010863 for <linux-xfs@vger.kernel.org>; Wed, 18 Dec 2024 02:14:37 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2170.outbound.protection.outlook.com [104.47.56.170]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 43h0f945wa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <linux-xfs@vger.kernel.org>; Wed, 18 Dec 2024 02:14:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=puj0DDl7pVaon4qWXJFMlcWfnuxQBHBDS8IujhyM0Z+MIa8FDhc8RjHxlFVE5X5ohKY3LgAS6zdWbCwers4YAWblnjtENizw7UYvdLP8ghhTGsiSVCf+tarIhf5VFfk1Q6q/vQebRTSE+el2VDOEdXA7kJhfEFw++TtqT3dHwtsblhkBT07qbrgPcqbf3ReqoKEU3pSMofhYaIC8q1YlOhKX9bFcmShqkYkZLz839SFb7oxoQN49lCnrKM0JyAvYH6hl/ieK0mWcj8LZ82hWinAOMbV8aSYI2rurX4BA4D7/ShfAZq28bJqZfQ3ygvD08vP2S4xDIpXt7pnHDcUb6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=XqofHiSLi6EtRfVc+YEDTVFXeKI72cJeabGzqWd1wp4=; b=MAi6pLK+vRT4Xc+jwreef6rjaALN6ZrzlNHiOA5QfelnzynU9EKHo7TOt1pS8cCicGRcNomorrBvNqX/+nNd+++MnjlyWmnKqiaoqACvAiTYfksIgr90siy6jVBaWB0kqVUxnJB/GtVK7JIHCl9NeVPWMN7klEgwRzg1CbwqVT4sj0+pJs46dfitTDaYavqXZZCuKV3l+aFlkLy4ZGLWNm6vXiKoUqtdeTb4pwPS49P/rK3etKUYB91d+XwzQBtOKGXrPyqALj6iXzVOja8wQQLn2kuS6gsoJz82D86Kq7a+MI4cJMy7orbfQwjZ1j0TXNLxWrxjqqL45HTDt4koCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XqofHiSLi6EtRfVc+YEDTVFXeKI72cJeabGzqWd1wp4=; b=dG5FYHE4XEGAFNqSRDD3lCS2ggjVcULl+mbZtXPYDgwRI77DoB3TxosTjMep+d/DFoCyEVdFiBy72e+UOinhJ9F5wpifoKinU67gt7hwKjVrAcUlg4OTCSIafbJZiX8BDz6K/T2uiyN83SoGHE6ZDzguT0UM2aI1jljODTNKD+s= Received: from BLAPR10MB5316.namprd10.prod.outlook.com (2603:10b6:208:326::6) by IA0PR10MB7577.namprd10.prod.outlook.com (2603:10b6:208:483::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.22; Wed, 18 Dec 2024 02:14:35 +0000 Received: from BLAPR10MB5316.namprd10.prod.outlook.com ([fe80::a63b:c94b:7ed8:4142]) by BLAPR10MB5316.namprd10.prod.outlook.com ([fe80::a63b:c94b:7ed8:4142%6]) with mapi id 15.20.8272.005; Wed, 18 Dec 2024 02:14:35 +0000 From: Catherine Hoang <catherine.hoang@oracle.com> To: linux-xfs@vger.kernel.org Subject: [PATCH 6.6 CANDIDATE 12/18] xfs: attr forks require attr, not attr2 Date: Tue, 17 Dec 2024 18:14:05 -0800 Message-Id: <20241218021411.42144-13-catherine.hoang@oracle.com> X-Mailer: git-send-email 2.39.3 (Apple Git-146) In-Reply-To: <20241218021411.42144-1-catherine.hoang@oracle.com> References: <20241218021411.42144-1-catherine.hoang@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR05CA0199.namprd05.prod.outlook.com (2603:10b6:a03:330::24) To BLAPR10MB5316.namprd10.prod.outlook.com (2603:10b6:208:326::6) Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: <linux-xfs.vger.kernel.org> List-Subscribe: <mailto:linux-xfs+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-xfs+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLAPR10MB5316:EE_|IA0PR10MB7577:EE_ X-MS-Office365-Filtering-Correlation-Id: 2bfaa40f-4dae-41e2-728d-08dd1f09b781 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|10070799003|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: 8rEJpC6au2yRqNIJhHmLk2HEA1ZCHy/iCfIrMQjjsbXp1JeUQKXsI0ZFpL3uujJ1QD7kX1IB9Tj6jKfXo5vXS+ekFhPr/7oEBXuSy9UABCI4ft6H6k8uVfw+81UZYy3MtdYQbSstj7IJ3s4seJ/SEsdcKNidpJFvka+od291c5n1fTtVf/4aYU1Jt0h5bxZXnFYwGyDJ9iu84+Mb6bpU1i2o3XQJgR2XhDDtgEqDMQZzjSG0KlCMBGTi7RJbVDyxMpCuBZopNKKGPW9MoDHjBbt8H58r+hMy4GYCdzyBzC3MA6vnwukmWaucx12xP1EFkTHzfvfSXH8vXVC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LI8hrJ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BLAPR10MB5316.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(10070799003)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gDn4p0YWAolWFnzmiZ+bzokc/a8vGLOruBT6xwubn5jwlVhbOoHIkUvae53CoLbegi3AKIDlmq0UPSkCjCm+YlOrZsytgpft5BhLb0ncnuMzb1LwucXheQ5Ko/38oR8nd/LXuEDrXjQ1jlaRvORCc/49r3lEE1CcUtjio/DeipUa6nVqsgadKZVXVKJhfn9I/dVSqmRuypYpu0jpnHI1LEP0xUQCeRXfkRUk4c+ar1Da4FD6CJaWngfflXNVDYvrPGTZMJ13c4XWmhDB3qvk/wpOUjX3cOc96gaX83F+2FHaNY7hdccBBHiwf48wgMr9h62lWN6Z7dbi36/kMxIYJ3SDRB2ZTe52Z6r6b0tnV2QJpNraKxxbh01Fe9Sl9FMZVDq5n++HCB1LwRxqdm+q91d2bVUMUNaiginFZ5csFguhlll+IJDzHo81YL2vNRY1DDA5bdhtJi+Y6WWQPckvyjt4beiPFLeth8xOgl1klaoSoQ/wbyl8Iup7wglsqy33Pu8Xb65ShKMs+Inc4VkGClQdMh1cevKIuZjgpCAOoS6ZXW2sKyaIVyqOTc8PHIF5jAdmKi95a8HR3SeLGI9+8SCeN0Qn6rfhRFUowVgUKsdjhlYeVCEBINQl9KEX23jOxMXKjLOBOM5Sta/k7b2e3oEiHb6iQ9hKGC7WP8Y2qFYsHvrMd5UIr3KRtuaYAOAogABcewnxh+pV29neAQArtiJAdguvsuuBuoJOAx5bz+1rwE4pPSguAmh/VFyRoeU7IH6KzSI9hprO2z9M1U1zRnXyIP3qP05p0b6wG0n9yoVbCjhAHN49ZjewearUgVakrFHQIYyK7qiutRUFo6rQd0d6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wXFNFc/bPuQfrRGTpXylYfgr3SI70eNucRh2KjZ3yXEljgcSG5RbZyr2BYCWGxus9HukbNbN7dgrcRM5rhavGdogelaZahATNgFZAHuxt8szSQlRYuekCf38uxtcICthZYi9s5QhfBwwfbpPUNZuhYJcykqSBvA6Z6fB0z6LxxBO3MCC5UZtumfolQX899UE5wG9nLc4hJ1H5qgA/ujmLnciuDslfcu7Kkr5ch9A1zY+7bQDuyUxLZUfEt17a3Q723nkSFF3Z0UphUy7mMKKp4D7BZ1WJMxQ2xzlHtFZTajVlWvgPyX5sL/WS1sEuV9EuasyD/f7WG6UUAkSce3JQjXgZCGEIAHuYPmggbejuPdZ7CVBMNSzs1tQyjZV16lSKNTM0SGxH9lPriaUpgvM7Ggh9TJEpfrn865c93uD9i4RWHkPgYFcp9qcaIv5RSr1NP65g= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2bfaa40f-4dae-41e2-728d-08dd1f09b781 X-MS-Exchange-CrossTenant-AuthSource: BLAPR10MB5316.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2024 02:14:35.1913 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Gx07NOoIbJvcMCj64Af3Uz6cu/4yob/zF4Qb2q1tIFH961S5T6xcUQZZ0y8TkfU5pl/8eKwrk/ZfxpyA8h+On4YIi5LkNnD0GntC4IbrW18= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR10MB7577 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-12-18_01,2024-12-17_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2411120000 definitions=main-2412180015 X-Proofpoint-GUID: yGVLRLOONpd5jcRR4HGREi4msGyLEl31 X-Proofpoint-ORIG-GUID: yGVLRLOONpd5jcRR4HGREi4msGyLEl31 |
Series |
xfs backports for 6.6.y (from 6.11)
|
expand
|
diff --git a/fs/xfs/scrub/bmap.c b/fs/xfs/scrub/bmap.c index 75588915572e..9dfa310df311 100644 --- a/fs/xfs/scrub/bmap.c +++ b/fs/xfs/scrub/bmap.c @@ -857,7 +857,13 @@ xchk_bmap( } break; case XFS_ATTR_FORK: - if (!xfs_has_attr(mp) && !xfs_has_attr2(mp)) + /* + * "attr" means that an attr fork was created at some point in + * the life of this filesystem. "attr2" means that inodes have + * variable-sized data/attr fork areas. Hence we only check + * attr here. + */ + if (!xfs_has_attr(mp)) xchk_ino_set_corrupt(sc, sc->ip->i_ino); break; default: