From patchwork Fri Dec 13 20:53:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 181598 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp1147303ile; Fri, 13 Dec 2019 12:57:42 -0800 (PST) X-Google-Smtp-Source: APXvYqyU51L6BQa/Z027fBqGgVejksNjMcyWmgB2FUEX6S0PnkARFV1SfDxe9mfQqKQY54HBG+m/ X-Received: by 2002:a05:6830:1582:: with SMTP id i2mr17402640otr.50.1576270662368; Fri, 13 Dec 2019 12:57:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576270662; cv=none; d=google.com; s=arc-20160816; b=iDnR/tKmCuByJdw/28N9/N724lQqV1+3t7w2jNIIgcPF/6Ug3a5jL5PBTjmrccp+Pf xnnlHa5ssx/gMJr/P3aFGbSpAgQ4xKWeXZEXMbo2NOHcFN4ruK/L8P4U2heCJ7uaCZZ0 I/G5cGAT1jA5FK4Irl0NPQrc1PyxOYdT77UQW0zTgoZoqckGiX9kfMpf/tf5Fk/LuP5N ybzGrIYMBaUgLiJU0RNqzWiCNHYHu33rXboRZT7LPvZ7v6oDVaucr1eiIIYFHixbygFW D3FwAg7KG7r6Tf5CV+sMi1v1v1RFfEmlyh66PxWACJukvrDWE1MK1LUJjFX0ZalFpMBf q0JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=BE8tX3r7DxSfvGij0/paxA5e5izScGozc03oRhGhjow=; b=xDgTLXLE2d8U2cz6Jfl8frthaNhmNyvXpS4rYX+77iUAUI2l+xTysiPdWllC0eZ6Vz XfsewiDv53mUc+lyH+RhOvMsAljmVHcO71W3dk9mkBFRigl7lTFT6p6bCXopn+zPCE5u 1gTM3u8T4F69Ds/vc1bXK9bDJctDbFpoGHTVBQt+BHUjFGiBwxOz915fap1Sqv9VfcJG Ky5PFKCkPlYipwAYhC+8evnxWvtpPoLxHyPdFYDhacVATnh93bvwLjI+zFrbDMcpCR3w BhpPmHYXJKYc/PZSOD2ctt1dIY0NxGHZanJQxm9qBK3C/QthXRqzkc+XnpNDL5V3a//c EMKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si5718352otp.70.2019.12.13.12.57.42; Fri, 13 Dec 2019 12:57:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726836AbfLMU5l (ORCPT + 27 others); Fri, 13 Dec 2019 15:57:41 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:55425 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfLMU5k (ORCPT ); Fri, 13 Dec 2019 15:57:40 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1M2w0K-1ijAJy1eIO-003Mbu; Fri, 13 Dec 2019 21:57:30 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org, linux-kernel@vger.kernel.org, "Darrick J. Wong" , linux-xfs@vger.kernel.org Cc: Arnd Bergmann , Brian Foster , Eric Sandeen , Nick Bowler Subject: [PATCH v2 19/24] xfs: rename compat_time_t to old_time32_t Date: Fri, 13 Dec 2019 21:53:47 +0100 Message-Id: <20191213205417.3871055-10-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191213204936.3643476-1-arnd@arndb.de> References: <20191213204936.3643476-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:zARXgYKok4zeFDeeiNI16bU/sUy4YFIaNYCQJhqKBzQvtO+A17j v4tP1EL/FypfHgRghMWum3GsKwt3bSsFh+LQlXfZ8b1QoXAeO/eXJeoUue+k/qwEXtW3KQt 8CymFTBFACC8PMqkvogi/8JqezrnKFM7ZCyKZRi4H0KE11VQzGJsVCZgVf1eHP+T/QD+CG0 QqYUBx+tj3Lzwj6dluayA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:KuBqyk8mLpI=:DXXot5F8i3KR2QR2b5njA0 C5sUb6IXLZGwy3iRjXzZtPcQ0bKQ98ph2rn+5bOAuE1WA2E+2DRWnJJwJBLnk7uF/5alcwxq4 pw1I7k3cyzP0yWzHOgS58+gxZpIyQWP3bGUZZmYFdPuRnwOpIu/r2v8vUv5dNxfKiQwdi9cH0 fjOQ0dEq8+9hs4nrEg1rfLtCebS0M6cjEiTK9Wrt3/1XHGqfDbFQTY3MUMMx1vhfBw/ya46HS 8d55sKQU+FiWDcBt4fRWxUff/lKINLgvy3w49NzDtn1ZYAxMFYK0ExbRxoc9f/lsR++hpy/kM EzHD7K5n9vG2kY4S+oqQ+5Dbpo0JwcACUDE1GReG9NDvCoZvj7l2K3NSJjCCFHTh4mc875uvg 2Z3ZPzuSPl8EFMO8SXyeuESMwXOVZCjqSY9YVkaBxJFPGg5Oq3N+3OWILmR44OvK/bioeHV/7 cFeH0oJM0xLojwAFlNdyMi7s5bn7erLfG7ZzBfvKWxbxT4u+jZYvHS4E+Wof/p+yQOi+eKhEZ InFbWlGZu0VLsmLuu8Gbxtkz+dbyEegQ6pzqR3Dgp3boxgCVmksoKok2pTcahOlUXGxH+kUUa T1+NbB2FCuUBTv7ig9jXs1q11ukMR8Q0lOL3NaWSZXipJGyCIAE3kZloJ+P1Mch6AUh4DSuEt NgFYm0LS/edpWjeMa+I0kb6ujA0GaoeoIqc4ruiaB49lzL6HlHKoaAO/gCWIFg+2X6mf8E9ZE CaO9gEtvqhPOkkWKJM3kbSyN9/TssF0J8NS0KTjcdpuNPSALWSGojoK/MpKxCsC52LDfHOnlz fACIRYflX0kBmHe8Va1nfHfCblPXXBBPcFy8WX5anhd0ChMO8MavG4yqDO9KqJObrVIcJssKB csAnZVpQ8ahGdl4jO+Sg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The compat_time_t type has been removed everywhere else, as most users rely on old_time32_t for both native and compat mode handling of 32-bit time_t. Remove the last one in xfs. Signed-off-by: Arnd Bergmann --- fs/xfs/xfs_ioctl32.c | 2 +- fs/xfs/xfs_ioctl32.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.20.0 Reviewed-by: Darrick J. Wong diff --git a/fs/xfs/xfs_ioctl32.c b/fs/xfs/xfs_ioctl32.c index c4c4f09113d3..a49bd80b2c3b 100644 --- a/fs/xfs/xfs_ioctl32.c +++ b/fs/xfs/xfs_ioctl32.c @@ -107,7 +107,7 @@ xfs_ioctl32_bstime_copyin( xfs_bstime_t *bstime, compat_xfs_bstime_t __user *bstime32) { - compat_time_t sec32; /* tv_sec differs on 64 vs. 32 */ + old_time32_t sec32; /* tv_sec differs on 64 vs. 32 */ if (get_user(sec32, &bstime32->tv_sec) || get_user(bstime->tv_nsec, &bstime32->tv_nsec)) diff --git a/fs/xfs/xfs_ioctl32.h b/fs/xfs/xfs_ioctl32.h index 8c7743cd490e..053de7d894cd 100644 --- a/fs/xfs/xfs_ioctl32.h +++ b/fs/xfs/xfs_ioctl32.h @@ -32,7 +32,7 @@ #endif typedef struct compat_xfs_bstime { - compat_time_t tv_sec; /* seconds */ + old_time32_t tv_sec; /* seconds */ __s32 tv_nsec; /* and nanoseconds */ } compat_xfs_bstime_t;