Message ID | 20240327001233.51675-18-catherine.hoang@oracle.com (mailing list archive) |
---|---|
State | Deferred, archived |
Headers | show
Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.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 1D8211FDA; Wed, 27 Mar 2024 00:13:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711498407; cv=fail; b=DBvq8D/E7ffq/QKzLvrSi0xsjq9VAewLv2avN/oSg1E6PDo8Bc6t1PL6qYh6C1AyIGoedexL6A3SnGivVOEG2Fdxx/XOlLHOCJguKQl960Z5yjHAiLaib5ujX/ryFGfxqihCoURWqmfDD3Ft0Vb+1My1yHHPLtpuBPanhM29A0g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711498407; c=relaxed/simple; bh=HSU7HkyTVfAOcVIJr2863NlNJKuOe6bZrhr1LOqg7/I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=JIeyT+0Kqt91IZcPdE4K+l37WHLMQlvmjVGIjmt7SZhEmxPASuO2c+PBPIz5jZr025dGqs7gmX8pEjFNuT+noEMG7MqGeIFnjkwtv2af0Ta06PasWaiW2LxTPEFheS75HXkcnen3F7zv4BJlMKqIV/EQpvnCBA8Hmzx+/e6RQ5k= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none 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=UXqOAtQj; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=jOzhnqWS; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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="UXqOAtQj"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="jOzhnqWS" Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 42QLiWHb026015; Wed, 27 Mar 2024 00:13:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-11-20; bh=tovxCgrsxy9/t2Tn2Fv5+TYf5Ipg/jFugxg2ITjM6lE=; b=UXqOAtQj+2HZ5+fSMSD5XvXmvYGccg6bL77DFfEXq9ln/WDtoysaco+4fiKt1hhDprTM Ri7ZbkhXHxRouKD4Qg9VysPu2deS8zwpF+u6L7BatIO0jON91gP4X/omSMejUIVLCujn Q4OUqqEvdH8ukpOorDVgY/OHVYuTWfhlC+aSUMPgKC7Ll+MXP1o2mlAsZTg9Eld9iKj/ 4kRKmHLXZHsP9FL1m3n0hb8xdbh12vFEoWxI7mVeApaCcY0e1WjynRmctLY+hxyLaUwC AL5nmxb6seLAl0195Cf+ScgMlLtZeYtgqMdf32mZS4n8MAuhjlFrPIotV/hXyT+CpVUb qw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3x2s9gvsd3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Mar 2024 00:13:24 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 42R05MAm020824; Wed, 27 Mar 2024 00:13:22 GMT Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2041.outbound.protection.outlook.com [104.47.51.41]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3x1nhe1akw-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Mar 2024 00:13:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HYbgdghcDoeLgtto9hkB+SgyXMrdKhBY7h3Wdsmq6uCcaImuQt2xEY/qEyU9T9HFquqbc9U0bBP9ak2Otqi3XhP2NIdHsQsuibtcNQN8giGkzslAeN2lLMAXGaWY0PVjfusUHXvsQOuRS1xpYO9DohwmrfIVVQuWsTxk4RRZ/Qifh780lJY1YmwmVvTraUtfN8y9hLhk+j2ZpSFEz80iONE4VNmi7oBKl5D//f7174KiT+LBePYDBcO6WeQ5zklV42FcYT5W9OWwj7OHxcX+5DRQrbHVj1kScrhISMCGpClKn8u3l0g74hw/aGgLoO+29JKRsVEABm1R5toK+dRq1g== 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=tovxCgrsxy9/t2Tn2Fv5+TYf5Ipg/jFugxg2ITjM6lE=; b=flWinUw41IgvXWIacKDXJlINl+Fn7NPkQ/le69ralTMOV1hUPOIEuD8aFqHb+Oxvxh/L/VgtkMMpUqec4GJFRNrCdJ6SJ1qmdd8zSeHUwv11UoMyVayEhn7YIjXGwpSnJt8IWEVTD71nFNoxMElqm4gBFi1C/D/00zJfEa/tH54tjqNudwba8vefc0UmmB/1l/Jt/PuEf0l1hn1Bj4Bs6wTuTnc1q8C5NRngyVrl+OnvMUZHfCxECpWSG9wB9l2Y1+GC+81RwNujEciFG/ZDG2OAJ4QZh4TvQSa/5Y/MWxlcxYsGc0dvfraRivaQ1u1fr2BeKprgXARSHACCkBG3vw== 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=tovxCgrsxy9/t2Tn2Fv5+TYf5Ipg/jFugxg2ITjM6lE=; b=jOzhnqWSpXP1Y5DLmf3zG5YwIJH2yUQwdgAJ6q+nT7dNCjARqxI/6g3G0QcbCQxPhJqeThQ7SNtDX1v5EgT6/s0QX0yMA1djHnOq7x5JHe49QnRnIldlKtSRvx0KfVIjErNHrQqB2JTRgHGSnpdF8qUr9X/TZn8wJkbtVOkQJXo= Received: from BLAPR10MB5316.namprd10.prod.outlook.com (2603:10b6:208:326::6) by BLAPR10MB4897.namprd10.prod.outlook.com (2603:10b6:208:30f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.33; Wed, 27 Mar 2024 00:13:18 +0000 Received: from BLAPR10MB5316.namprd10.prod.outlook.com ([fe80::404e:f2ff:fe2c:bd7a]) by BLAPR10MB5316.namprd10.prod.outlook.com ([fe80::404e:f2ff:fe2c:bd7a%4]) with mapi id 15.20.7409.031; Wed, 27 Mar 2024 00:13:18 +0000 From: Catherine Hoang <catherine.hoang@oracle.com> To: stable@vger.kernel.org Cc: linux-xfs@vger.kernel.org Subject: [PATCH 6.6 17/24] xfs: initialise di_crc in xfs_log_dinode Date: Tue, 26 Mar 2024 17:12:26 -0700 Message-Id: <20240327001233.51675-18-catherine.hoang@oracle.com> X-Mailer: git-send-email 2.39.2 (Apple Git-143) In-Reply-To: <20240327001233.51675-1-catherine.hoang@oracle.com> References: <20240327001233.51675-1-catherine.hoang@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BY5PR16CA0035.namprd16.prod.outlook.com (2603:10b6:a03:1a0::48) 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_|BLAPR10MB4897:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gn1oICuzvKi5lY7oHqwKEj2SmefoZWvw7q/EZP3OnLfrp1MPoMpsLXcvfs8K01HkS11KLDF2EHXWXjEqGhmPJqgBlybrQUT3V4RVQc8kAk8HzKyvB8wdDV9XgN5WUw5jzPJXBu7KbIgzeLoC4G1IpBpUNvrdGtLXoBBNcFs2vKrPVcq70yPPqwYDipKqsBCD8d4vbIC45j4540kKI/vi0BClhjdZY3duhzJCc7rNh8jhtB/3tNtq8FLgO6jH7m3GGQOTivfypaqbcRA7MhbU3RnAyv0C1CFA57I2h++kzdzlh8xrLCPrLjgYcKLaYTaf9DflnB3qKhan6rZqmLpgDrsScWJ/HDgtXKJYLoRxWCISxON/cgtvNZoMDz6seXPfsm99pBdPb5YqYPIANXnRkNWxR7ixmf7X48WkNOpatDc2HQY14IM368Y8YnJNPs6fq0lzJGp7NcKOdbQTmN38hpXv4nK1BCRjNUr+mbki9VZN2I01rwMb3zrxJggnprUUGx0k5dgcAtyQshhp4cJnU6ibZdpWVfvToc1yLCYRohBInT6nXLnvlVKlZv7uF8+HuVoOWS7P2kgrSXmLeYO5SObLslLE6TnhF6BkcW6ptsz7s6W4zPpaweaLezCbMmx2SIV7EksJZh1PAqgSFyBI1+NJJCyIy9q8FND5plnnsRM= 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:(13230031)(366007)(376005)(1800799015);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2mQZXQnIkN7g2JnMaOmipzJKy8TAixCWFTSp5PNdujDl884+MeKkzJgch5NtTfEm/ZfpAxH3NvPd8DbWRpjSVqjZ/tvwgWuUHYOWhi0BW91uagkCOcO8cS2uRbvKMVpt440na1sB5WppW0FHtClSBMccCBF37BSiWgdY283EXuiODOxnPShu8DFhSHzLC8t4MUrwYIeR1GziU1GZVnHH6U21o/eoAdFIbIGeEINi2iejoxbh2Gc4m+Grgiia+Zmn9r4QlXBxXgSNuucpSWPjMP8ZsnuHcX3LVkZoGSgFszBDdbtL42oqHjmyQJ4k+nzKkTKZTImeCg35pxPZgFlpXoLTU2Q7djcSdqno3TM/yqxjKu/v9/5BfH7E0W/e9KUhp6+Z18w2wMw/zV5mrjAeHtaNnJq7LhszgjBJi5pZtxgjqH5WTAIV38wIdPn2dvrIbpC2aMq7EYcL2IO3RTLvOJetgOxtUqqF5dZTnDnwLFNrWuWuv6fPhazIWNEWEMR/+UyPJGRyE9UR4Mxy9l3fo3n2AWx4pg9Py4tHtMXCAY/hByIfA6L6xUvntys4TTvHuC9AJKT+F1a3Il4tE5xWKQxKXQqPdIkslFF7Kknw+6LlhQfrZL965w1w5LXQXnm3z9U/wpCydS91xUMMEmGbF9wdgNn5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alHop-MessageData-0: cz9lY+aLdq7MMyjBkYbMwU8Qf3yo/Ta9KJPIkSVZ+03Labdybb+X+NGdLM+B7C1qZC2BSIKGVDdseq/MvZsaHg064G92Wk4XPwZC3OKDucZTNt1kF3bHtqc0aPlVXVZ0ytdGGD4lK1E4LRPPraCOgVHDg/122qBgtToe8BuiJOhbUI7zeoznNcMSf0f+nt80kGiGPDVznYnSQ9DLNX86tphByk9RyFzdJT0HXl8yxLv2N/WNGNBzfCnPGQblC2gRi02GO8gfFrfu/cNXShM6K7UOIxlIbhJuqc1D3spVJnYzSGpS5iub8dpLnnEWx+xgp2cx8gnNG+e00nWOx7b2Fos0YzrQy4n9cNNFmX8DxCDIj7ZKvaXAlDeLCSSGt08U/FKlGYbk7fH95c8dgeZE25GikVKb0KuioMYLrMvIv9iytwrdZ4ovZ4WvQY7b1K6cb+5H7Qhc4ApEnt6xSijX0PJSRsUp/uyL96Vrr9ueOQdaIt6M+n/PYqYn9yVWHvLTDWHsnWx9NpanRXmnhXOElk004E1n5TWChWJtkN8KmlXkU0/+xtwjz2lKN8vb484E+FX80ukkeDsaWXwXZkiWBbGXaxTU4MRz3DfIYh23r7k= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b34aedf-1200-4115-df55-08dc4df2b45f X-MS-Exchange-CrossTenant-AuthSource: BLAPR10MB5316.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2024 00:13:18.5063 (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: ncRcS8P/UjX623eQNFw7DnIYjhNTAZlndwW7kaDsSfwGhsOKYzqebGrG4fgy8sFbRDRLgBbuJ7zPl32MOTvXvpMATSzi3JZafvpkx6MlyuE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB4897 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-26_10,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 spamscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2403210000 definitions=main-2403270000 X-Proofpoint-GUID: 3ulnwcFwV3GQZWbxVMcdZ2oCKADMkhJw X-Proofpoint-ORIG-GUID: 3ulnwcFwV3GQZWbxVMcdZ2oCKADMkhJw |
Series |
xfs backports for 6.6.y (from 6.8)
|
expand
|
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c index 127b2410eb20..155a8b312875 100644 --- a/fs/xfs/xfs_inode_item.c +++ b/fs/xfs/xfs_inode_item.c @@ -556,6 +556,9 @@ xfs_inode_to_log_dinode( memset(to->di_pad2, 0, sizeof(to->di_pad2)); uuid_copy(&to->di_uuid, &ip->i_mount->m_sb.sb_meta_uuid); to->di_v3_pad = 0; + + /* dummy value for initialisation */ + to->di_crc = 0; } else { to->di_version = 2; to->di_flushiter = ip->i_flushiter;