From patchwork Thu Aug 30 18:09:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 145558 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp205842ljw; Thu, 30 Aug 2018 11:09:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbRS7HcmenCHPwQNaDcv/VgmFFkI1BsgYna43iWylZ9kbguWQmDjY/6H0FdbD9aTRtI01AQ X-Received: by 2002:a62:34c4:: with SMTP id b187-v6mr11468611pfa.15.1535652591549; Thu, 30 Aug 2018 11:09:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535652591; cv=none; d=google.com; s=arc-20160816; b=YO3ODHBTXDABlrj8SJMPeTAEpogOPoScUMi9bqH8yxVkscYDfi64ll/Oe5Cqv+YWPu lCXEq4aVg6ffRkS5AFeMhSwWr2gpBIGdMG+x2IcUX/Z+VbD4fYrDrdl+2JSVio+YA1C2 tUXXezZnFKFYhy4nUB4JIbVB1ztJ6gumCyKWBVkGdPdu2UgxvJ+loe6sjCPu0YRpINsO LC2NvL5gufvSkeTC+jaY7k6gve7ldmYdo4uk6cuQv5bULEGzoK+qxLTcx6xsWz0djUES 1NKweUhOzLqv/sNwm99XsATwlIKnyRFvZC2S3gqjDsMU5MtMtbMsmjNye1XbzX/st5IY pcLA== 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=rlceGyccwOKyLegE4FG5VCR7ky7bnOjg2JTuCfV8fwQ=; b=XfIg1r2WUd/3DSFgviLB7llIdOxHdYuJEADKCxgYKLwXZ9zEJ0FE1qrN69QzJnpvfg LbbbfZkqN/KQSO8tuqHytMwWJLI3I41Ht3YLqqtt325///gS3gMZI2gVoDj85uWkVht3 RicgGmWUQdQr1meXxtONMrTOJsjhelbZ37ANWfvViiA/aSHWI+be5ip5V0cXmgygf/Y+ UeycMAdVJq2wjcfdkphqTfqu0yokMRb5SCZUnfMk5qymA2ExlPRDtxMo2qXvyDizE1fW R78St5zTnBZQUcGZ0qxJ0+EjDx6wWW6r+awrKCdt+Y6m5e4nfYRhlO8PGZCW9YFFEiai z5KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=LLw4GT5p; 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 l30-v6si7251814plg.12.2018.08.30.11.09.51; Thu, 30 Aug 2018 11:09:51 -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=LLw4GT5p; 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 S1727850AbeH3WNM (ORCPT + 13 others); Thu, 30 Aug 2018 18:13:12 -0400 Received: from mail-dm3nam03on0098.outbound.protection.outlook.com ([104.47.41.98]:63488 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727387AbeH3WNM (ORCPT ); Thu, 30 Aug 2018 18:13:12 -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=rlceGyccwOKyLegE4FG5VCR7ky7bnOjg2JTuCfV8fwQ=; b=LLw4GT5pSRqn+PHNOxjCXKW3b47k0Ocu0SfJFHqQV/cRwQpduBK/Di73tNgOjX+r0gCj9OUcsoR41xLn/EUK2+JlyBo8gwVIKm8yXOvZ+TSrGctaG/H7TnARzBdddctK5dPCqUlhYo8nnXziKYpNPIJOcbSiwpAsTnYAOmkn2Gk= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0693.namprd21.prod.outlook.com (10.175.121.147) 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:09:39 +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:09:39 +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.14 06/67] reiserfs: change j_timestamp type to time64_t Thread-Topic: [PATCH AUTOSEL 4.14 06/67] reiserfs: change j_timestamp type to time64_t Thread-Index: AQHUQIyduUDtBO4hLkyyJJF85XEpAA== Date: Thu, 30 Aug 2018 18:09:39 +0000 Message-ID: <20180830180918.36327-6-alexander.levin@microsoft.com> References: <20180830180918.36327-1-alexander.levin@microsoft.com> In-Reply-To: <20180830180918.36327-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; CY4PR21MB0693; 6:tjBc/id1zKlH8eCS9HLDOT1bZOzA3BqEfyma0cWAQsRvaDVX0lsKKg+tqbKR9rbqTtWfoXBzlvytwj4msl9vJ75L5CgKYX0ro6dkoEWOSwwIuGzbVVLqFp/gy92q64LKPjUmc+UVEE+aK0cHux175ZwAR7DDUOLeSo63RVwfRkGeqZ2dnX/n97vE+2PXVSUfYL21TPFlQkVU1wHMlSva+cxFJ3UCfJzgS0buWS29p1sbgri1hW8PAtUyBUX3m4lR7EpS75u8vPe4EsnKvI4Er80daRTOMJ+lKt0oCJEE3JTHK/I+emZqOxwWmr15HtrP+lW4+o953CRQydQ2L/LJXuhY5I7UB68wzStUk4au8o8q4j4blJA6qIQxqG01IEzv1Wcc5A0+YjDzaJUZgJS52rbwvWpMWPzgTMA77AGtzgCkTbS6fccFe75k7bXXyRYaawlXeR8dm/FgYQMW7HYl/w==; 5:bGKM97RiRy7kG/alvHpNtCE97hxflqleAeG1z60mE8zr7Azm6ml4O9hci1Fzqx+lh/PKFnhvOXFHgfkqkPxQLaGgAVk1J7q4PQs9S+xjH1Y/eME+izWGgmOKXhkfyrXPVduMgp0iB4dNlHR9N6nokmR+4VehqZDysn2lsBZEdRw=; 7:apNgugZGM/ArOEcM0iHSOBR/j7iNO5M+Duq3gt5ptRvrWQxXVUh5qjE6+r8HBeOTO88z/0EXBWGWsZ9WSpVn84PxFTll2AOY/XWwrSnaAMsr6Eso+amQhmjVzvrvfVt3Vysmg3DEJ8zToPrwDh5D7QGstjabWn7xCoJBHHkz8X/klvW8biPYD/wtodCPyNbp1iMzeoav/mjM5eQjCbweMP9E7I74RH/11p5WlZuDU43vft+y3+oj6lkqdCd1shQ5 x-ms-office365-filtering-correlation-id: 795bd895-8baf-43a9-95e8-08d60ea3c092 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:CY4PR21MB0693; x-ms-traffictypediagnostic: CY4PR21MB0693: 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)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699049)(76991033); SRVR:CY4PR21MB0693; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0693; x-forefront-prvs: 07807C55DC x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(396003)(39860400002)(376002)(136003)(366004)(189003)(199004)(6116002)(186003)(8676002)(26005)(102836004)(6346003)(14454004)(8936002)(966005)(478600001)(10290500003)(10090500001)(68736007)(22452003)(72206003)(66066001)(6506007)(14444005)(256004)(4326008)(81166006)(316002)(107886003)(25786009)(1730700003)(81156014)(54906003)(3846002)(53936002)(2906002)(1076002)(6306002)(6512007)(6436002)(5640700003)(86362001)(7736002)(575784001)(305945005)(5660300001)(76176011)(86612001)(105586002)(217873002)(6916009)(99286004)(486006)(6486002)(476003)(36756003)(2616005)(11346002)(97736004)(2351001)(446003)(106356001)(2900100001)(2501003)(5250100002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0693; 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: S6AV/Gupjs2RzjM3Ga9TWdoiO8T9eFuvcZP8DNNtNIqpUbUZ5NvHXlmuDTIA8GcJK5+bULIyDS3uK0SXM5U4erU9C26JFC8NEkOuR0+JNINyUxtYXDaBw9VY/NGfTjBRreHYsG/MoPs+H00B2z3ITe7+0JcsJFQrlucNDeu73jpVL7Rhn3FlFTTZr+rhRCgLA0ebKOHgJ0VoN0OkgvMzthF7SKhD3ldOtQsuMCxiiyEB/tvTgPhlArsh24QxzvwiyncRjWfrlQmj/HIqdRlho88g6T/e9vF/Py4nXHiCI0Xuc1S9hlDM5sAd9b+uvROnmZokuu3BYWMjBAxvxLPA76KD9wq3xpbCHhlvZKHk8VQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 795bd895-8baf-43a9-95e8-08d60ea3c092 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2018 18:09:39.1352 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0693 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 48835a659948..eabf85371ece 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;