From patchwork Thu Aug 30 18:01:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 145554 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp195886ljw; Thu, 30 Aug 2018 11:01:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbWSlAmO/S3ciW0o8yo2m1p86e/2vUjN1RII+8f4OOSpar6NiZrv0Fif/elEBQhts5V1v0V X-Received: by 2002:a62:6948:: with SMTP id e69-v6mr11539664pfc.166.1535652079099; Thu, 30 Aug 2018 11:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535652079; cv=none; d=google.com; s=arc-20160816; b=NNBouBMLJwo2114Y9zv9mK3A6PHrcQdL6KW0BnmheszV4Uf3xEyvJMKoBWJIKZAr+9 5rZbSAdcMAbgMZREkr91LjdwVMiQEEGUbpQXpQ8zGI/KgraV4sPed4Wj/FB4JQZOi8iC LphH+KhbDZn6HA/k7B1QDea56tbSqmgFpCl0PFqOy29O+H4/nOPNrdR1Mad0cNgncdsk gs2YSpbOtexileb3dgtzCTOxn3khzNTonrVd1YKqycUgM2xNrEJAbtjkOUIT2Ud71aOn 4HqCuOVrm/7o4BMUSXE43jQFmZyfWelAsLClLSUcU7IqVAUofCeww/wWhpNcIRWBB9+q Q2Kg== 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=jMWNRMalTNygT89NTuUWf890BsY9IaGRvgN8TqvDb1A=; b=M1oi7ER2423loDMtFI6XiXMxrXsR972gQFHDvLSGdJ2VcG2LPr5B1bnRuRU9EUuJHX Ggbnhv3UqAQ5gT/7lAAWdI5HwJCbBxdi4cQ1goI7baOppCDZyqICaTa9IXUk1u4XfzeH TKkGJo9vO3PBMqEVIp75lmAzTXU4d5mVCO1gXVL67Fcyw0cJhyBXPGav5H9R2e+DZ8h/ DV8dMsHCt7XLmWw3q5pm2Cm6umfNUcAWa/bYsKa1gAs/JxR8JbOtd2rGNfynU3U6GWKB PVMzGjQfFyHAwk3Pi0lP7dXc8EnQhDxdgU19Je+T4Xb+mn5+tFVexfDuUOnekyjVVYWP TTug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=QaK480Fl; 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 a64-v6si7831055pfb.224.2018.08.30.11.01.18; Thu, 30 Aug 2018 11:01:19 -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=QaK480Fl; 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 S1727227AbeH3WEh (ORCPT + 13 others); Thu, 30 Aug 2018 18:04:37 -0400 Received: from mail-eopbgr730114.outbound.protection.outlook.com ([40.107.73.114]:49585 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726674AbeH3WEh (ORCPT ); Thu, 30 Aug 2018 18:04:37 -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=jMWNRMalTNygT89NTuUWf890BsY9IaGRvgN8TqvDb1A=; b=QaK480FlhNpxX8aai69AhnMTDmKdC15CnWHiw3ecHg3ZG4+ze4OhF1jqmtPWVA4zL3mClBbSQIDoIGGNUEEShZCjulPr6BpxtB+Gfyuymb9J2SzVTIww/5wQbx/t4jFe0nanCb0D6BOBHRdvSskJdrltTMZAM73sv1Ely9lzaGA= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0856.namprd21.prod.outlook.com (10.173.192.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.1; Thu, 30 Aug 2018 18:01:15 +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:01:15 +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.18 007/113] reiserfs: change j_timestamp type to time64_t Thread-Topic: [PATCH AUTOSEL 4.18 007/113] reiserfs: change j_timestamp type to time64_t Thread-Index: AQHUQItxE38ruvorcUSSvXC1VWNxhA== Date: Thu, 30 Aug 2018 18:01:15 +0000 Message-ID: <20180830180050.35735-7-alexander.levin@microsoft.com> References: <20180830180050.35735-1-alexander.levin@microsoft.com> In-Reply-To: <20180830180050.35735-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; CY4PR21MB0856; 6:DQtcEpztWqOxgcEUVKv017wacm4ioOOo1yZEKTDLV2Ru2QooLqONk7QdwgRpvtSv+z4eo9mIF1E1RDReCZpxDSYcyqHjLGVG8+mec5m2l0DSSl0sy+pKNs7LSV4SX5bLFxESD95EN46sMHdlMMAXgvUj5CFLdrhIHwNM1AxrHFtjfTEWoT4OS4KzVl62XRUjd/kQzWeU2sbmHAlLJyLmewDU1psJOFyyqxBd7HOXFChUJag71tMfb98cUsPFtjC7l5gNQSwrJuUhRAKIK9PblzPqnQ5/6Ou9uYFm6sWE5VRgVqYOrSBic9+/0GpfmVqmrRYTP3fhSmXmTaGFVQFof1JeCMjwcaXi5K228+Z53gXTZfC3smbxMbAzAGf9kEofUo+xsFSzPwGWRArukzWQ1Zsk3OjY6FGcZpRnzkgIFFx5uEcH52qKd5OSfjFml8kJerSFueIolwgQ6thOZP9kLw==; 5:AEL0HoqtaB9SbSDbD15eUTDFJRe0wxDGQ09b9D0JXpJIQaQnxMw6zd25enbfjscIqTRZlAHJeoVQr3c03xy67YeIYRorqift21MXFcVRaIkmBmKy0znJ55N4VDEiZ/8icHD5iSwdIEMtUTy6hUCcXEauvrCG0YfVe3XVAgS6v1A=; 7:gUQ+xdxflS69IjPAtS23rwBHWmjlC4ooUR3yTbHSqJaNh6OPrkzOuA5SzzXYnzxDTqJMlZqXUCtpKR6yviIfg0bq/Zp38uYcO9Tr9RjKjPofmIB7LtCXnNG5sztTdxwDsUjbZXlPwdNYgqbbLLnYo4Neow/S5CEkfX+u3ETbJTQM3Wm9Lw/DwIGFFnX9+X/QZ0XVWxOu9EEgJP0Ap8DQ68/ejJraDoEO1nngNwfDn1Ahi62IU4mkj8JQrUe2xCeH x-ms-office365-filtering-correlation-id: 9ce28514-6793-4c40-beaf-08d60ea29420 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:CY4PR21MB0856; x-ms-traffictypediagnostic: CY4PR21MB0856: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; 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)(10201501046)(3002001)(3231340)(944501410)(52105095)(2018427008)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699049)(76991033); SRVR:CY4PR21MB0856; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0856; x-forefront-prvs: 07807C55DC x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(376002)(346002)(39860400002)(396003)(366004)(199004)(189003)(10290500003)(14454004)(86612001)(7736002)(305945005)(4326008)(478600001)(107886003)(575784001)(86362001)(72206003)(966005)(25786009)(2900100001)(76176011)(99286004)(22452003)(316002)(54906003)(2906002)(106356001)(3846002)(5660300001)(8676002)(105586002)(2351001)(81166006)(81156014)(1730700003)(6916009)(68736007)(14444005)(256004)(217873002)(8936002)(6116002)(1076002)(6506007)(102836004)(36756003)(5250100002)(2501003)(186003)(6512007)(26005)(6306002)(53936002)(486006)(476003)(2616005)(11346002)(446003)(97736004)(5640700003)(6436002)(10090500001)(6486002)(66066001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0856; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 82A+oGe9Yiwiq0oEJAwS34VKRK5KmUHUt4BaengDux+gA18GpGWR7M+LFnkATtECJmpq2OZ8jDVrIS9oFPr4qONrzFoxlTj9ygitdCm5NZYDvCON+mv/1H9abZ9V141NKARPJNOEGooHTYwep8F2Mk/NE8N4MeXJ1GeXK3GR6NitM08x+9HsLuVBkNCpcxOAlbzO7GbGMDTyfWxZHGUh4s8y8T4czJaKtbcFusbAYt5vw7oTkigepdw5LALi8l/b71yCnuFOqahnGPk+K28t4JkXwuhZw60SEbl7pZzX90aqNDAY/8QuoQkauHLwjTYDNujikSNLAc2TlJS+2Dt56VhaU/BFeJI0vzKQhRgBP2s= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ce28514-6793-4c40-beaf-08d60ea29420 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2018 18:01:15.1117 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0856 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 ae4811fecc1f..6d670bd9ab6b 100644 --- a/fs/reiserfs/reiserfs.h +++ b/fs/reiserfs/reiserfs.h @@ -271,7 +271,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;