From patchwork Thu Aug 30 18:13:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 145561 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp209204ljw; Thu, 30 Aug 2018 11:13:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaFQuO30CHOxfQkakmJbvg+7WAf1RKCkPX+pelpXZWWv4IDlIsBCu8MQkVoACJakPN5pw8O X-Received: by 2002:a62:990f:: with SMTP id d15-v6mr11691016pfe.162.1535652804407; Thu, 30 Aug 2018 11:13:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535652804; cv=none; d=google.com; s=arc-20160816; b=llcUOCWZCR4wLBakxS4f/jGo7U1Y/s8amydmc/SspbLCmpa/T9D4+KeXgr/8KkxEs0 81ILYN8A1RNBuh/gYJqLgv0Uqs/7sQDxdDnI59qvrm5PsLKxAqAX06YTQrcQGXvUK2HV pr5yaYpSB2QSe9qpZdNiGwq24vBhnIU8gGR2MjUAuKMqrXwkr50cD6mf1TcpFN7mv0xU kOyU7wiC0ryPx6eevQGzsp69fD5Qa13PTu6+xqznBB2Rm7pbSD7mwy+Z6U73HH/FFZkd Pqwd2nG0nPzB0MhccjaICzCV7O8Snvof3NVYYgX1h5xe/mHOA7CRy2kWZPbK7eSk5L6Q EqWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=3ISE608kaJLH43pVOWNOnF3gc0juIDPE+ykYem0YE0M=; b=HjPFRdmyLHnlkSWXzwcnUWPZlMyuuawj25Eg5leXqSwkPj0bAkrkBL0M1JuexUOMCP GNGHbUr2EKHHAYsxgMUl0Bx5QJY4up4/t9rTmwdogofc3BFtGug2fUI737xqC1pjclf0 PPWXxOyf3JfrfChc1lP5u+iiA5ImcaFc36zC1h1Mk81qYECVoOHyTNnMJodGJ4LluOA1 O8d2TXv3E6menGMY6efwnpIx1V0YmnbvTLKqwY3WMBL1+r+xDaYCdPWbN6uQ1XO0vB5y MPvQz6F+VkfowUR+HBEH75SIGXif4imY4R4Ka5wDYlxvER4HmaBnrNK9foXcGhJyYfM9 bnfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=G5cbN4hc; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 93-v6si7210022plf.113.2018.08.30.11.13.24; Thu, 30 Aug 2018 11:13:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=G5cbN4hc; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727941AbeH3WQq (ORCPT + 13 others); Thu, 30 Aug 2018 18:16:46 -0400 Received: from mail-eopbgr690106.outbound.protection.outlook.com ([40.107.69.106]:2781 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727815AbeH3WQq (ORCPT ); Thu, 30 Aug 2018 18:16:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3ISE608kaJLH43pVOWNOnF3gc0juIDPE+ykYem0YE0M=; b=G5cbN4hcInGg7VxB+MebDiB+lkKpRMURyXT0OcRIFxNjCM4KxI2h1js+inaESxzaBh00p2e56wzdV++0QwkwXKSMFvamNEwLegvwrGkdwZsvb5Rcn4040I07mu1EgSzlmtxeZRGR8VCweefxTrSTwvxuq5qe2H+zcRO50cF1L9Y= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0694.namprd21.prod.outlook.com (10.175.121.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.2; Thu, 30 Aug 2018 18:13:20 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611%7]) with mapi id 15.20.1122.009; Thu, 30 Aug 2018 18:13:20 +0000 From: Sasha Levin To: "stable@vger.kernel.org" CC: Arnd Bergmann , Jan Kara , Jeff Mahoney , Andrew Morton , Linus Torvalds , Sasha Levin Subject: [PATCH AUTOSEL 4.9 06/42] reiserfs: change j_timestamp type to time64_t Thread-Topic: [PATCH AUTOSEL 4.9 06/42] reiserfs: change j_timestamp type to time64_t Thread-Index: AQHUQI0h2+JiO80pIUq0x+6LJ0LJZA== Date: Thu, 30 Aug 2018 18:13:20 +0000 Message-ID: <20180830181245.36526-6-alexander.levin@microsoft.com> References: <20180830181245.36526-1-alexander.levin@microsoft.com> In-Reply-To: <20180830181245.36526-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR21MB0694; 6:3TetM/sIai2mki9rpNOrHgv5tn3oQ+iPfacWE7fwaOHJ1E3BDs5pUQEOF9pQQqPFlvop0B+P9mSvC4ru5DRpLbSWo1v0XchmEVHga06Cej3ySsWGr+CT36+Xc0MrG2MQ046NiBwAcU8IQvwS6tcZyVeZWIo++boqiJEq195XrTEA8D/YsFGMFOvxLVIguvIQ1XNK5DV6opZZxxz0WgvsW2W6ClqRhcaEXf05AdmUrpwH9Nr8YDCFt3cydqQv81uJIQi5uZNnMtKsmo4xBiNDH8Vu7J4haq173ClvqL/RA3n5OqBtmuINlraJa+cE317eO2Kyjhej1mgI9xLFEgq5Jx8VGJMdM7BBUyflmVGzZbDOWGBb4CRcCnqSwylzBa+B1A40zWI7q0FWGAlcK2CgtVlmLiC3JUaP1roCgYwsEwifSvcYmUyldIHhnbIy+D10scvVKOEeCb9ZB1TomfC8/g==; 5:UAHpMWu2TUitNKBSdWlg8K28wq7XsDEKFSC2Y/fwa3vxl9wrfSUfyEDe3KeZNASiIRPIAiIF0WD8q/vnowgXdV2KV9LXTC1oPQxCM9UEim8ehlBsEKz/6c3Wc9M8UGWNZGddSlwOh5dIwhmpxsGPo315ml/PsUqzlhOyywAJMRo=; 7:dRWb9EsCN1Jkj/N9mB2enQbVq+iViunQNxFnIqT1MuFfNarxHrRSz/EysA8N59Du6VZ8MTJcv9tXICswrHJZkOd2H08QuyjJwFOiDst7QVwvFyn7vgb+0iJEpafL48N//nQ9Z7v2lzLS4di6wV1JXEEHpmsvJzEyzMD/ZlCKYgOT/NMtH+E0TeLpM5F4HdivZFZKz+v3Vw0AAu6s3GzFLgZl6XNUdhkfR02iHj3pLKfufBm0lxFcc672gm50+Zjt x-ms-office365-filtering-correlation-id: 140adf7d-7a4d-444b-8706-08d60ea44487 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(4534165)(4627221)(201703031133081)(201702281549075)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:CY4PR21MB0694; x-ms-traffictypediagnostic: CY4PR21MB0694: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(42068640409301); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231340)(944501410)(52105095)(2018427008)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699049)(76991033); SRVR:CY4PR21MB0694; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0694; x-forefront-prvs: 07807C55DC x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(39860400002)(346002)(376002)(136003)(189003)(199004)(6116002)(2351001)(5660300001)(6916009)(5250100002)(3846002)(68736007)(26005)(186003)(66066001)(4326008)(22452003)(2501003)(2906002)(486006)(106356001)(105586002)(86612001)(316002)(575784001)(1076002)(86362001)(107886003)(76176011)(99286004)(25786009)(2900100001)(54906003)(1730700003)(81156014)(446003)(11346002)(97736004)(305945005)(7736002)(8676002)(6306002)(53936002)(81166006)(256004)(476003)(72206003)(6512007)(14454004)(5640700003)(14444005)(966005)(217873002)(2616005)(6436002)(10090500001)(478600001)(10290500003)(6346003)(8936002)(6486002)(102836004)(36756003)(6506007); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0694; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: PAaK0jpFtGD2JlRYb2XzPbW2e6A46BLRJsGk/DkNWEtQLFjjuPytL4aqgXzS7mS9/UnJgCcAojYpF2cMMpxmFa3+6Tb72ZadAcx6woGd2SS6UHLOezb1emhP35oa1iK1MhJYbqP8ZMb9L+aJ41qyZmq3ixgC/DQ/qKWQ6BAOX2p8XhwEg7IkAdYSeR0F/7HBuW7JDUKjX7y02YoEnfZork9fS57z1LB2z36S29QPDA2TMEkS3KlVUjenfcST4iTy/SASng02VGB71pt7XOz2CLfe2Z06N9ACGZ2+iHeZYNrYHp3NeDP03SG7XgGKVAL2ldi7AAokn/dA0P1NYPAJVb3Tyer4O/FQig4WIJ3OoQQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 140adf7d-7a4d-444b-8706-08d60ea44487 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2018 18:13:20.5771 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0694 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann [ Upstream commit 8b73ce6a4bae4fe12bcb2c361c0da4183c2e1b6f ] This uses the deprecated time_t type but is write-only, and could be removed, but as Jeff explains, having a timestamp can be usefule for post-mortem analysis in crash dumps. In order to remove one of the last instances of time_t, this changes the type to time64_t, same as j_trans_start_time. Link: http://lkml.kernel.org/r/20180622133315.221210-1-arnd@arndb.de Signed-off-by: Arnd Bergmann Cc: Jan Kara Cc: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Sasha Levin --- fs/reiserfs/reiserfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/fs/reiserfs/reiserfs.h b/fs/reiserfs/reiserfs.h index 6ca00471afbf..d920a646b578 100644 --- a/fs/reiserfs/reiserfs.h +++ b/fs/reiserfs/reiserfs.h @@ -270,7 +270,7 @@ struct reiserfs_journal_list { struct mutex j_commit_mutex; unsigned int j_trans_id; - time_t j_timestamp; + time64_t j_timestamp; /* write-only but useful for crash dump analysis */ struct reiserfs_list_bitmap *j_list_bitmap; struct buffer_head *j_commit_bh; /* commit buffer head */ struct reiserfs_journal_cnode *j_realblock;