From patchwork Wed Dec 18 16:39:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 182012 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp891524ile; Wed, 18 Dec 2019 08:40:11 -0800 (PST) X-Google-Smtp-Source: APXvYqyK69sjYttXqwFw4VJJ2baedizmfgcX1yJVH7Q6C6qDrsZ+3RLp22GoOS/Sl7fRfTXvJVOY X-Received: by 2002:a05:6830:1691:: with SMTP id k17mr3688904otr.282.1576687211250; Wed, 18 Dec 2019 08:40:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576687211; cv=none; d=google.com; s=arc-20160816; b=sHaa7Q0bRUgpAI3xjZz7V4OQstei1WXN6n9ELrZdxS8yffxtuFM55NfixY+JHFh7Iv ugb90Hafx+uwOqQQGrsPijCj2dDEaCmQXOsjX3u95YpzneKcqsbR4xcPFJrpkiH4kHNk I9gy2cvk65QgLFmZuzq80BNrYzVMJeslljXSl/Zo2bvUE4MiH/YXZ7bKeKZihVQzmN3n KLX2D9l7ufXSJIEVjMOi0+wRPdulAIczO/j1YN4DVvDHCgWUcltYq+SmvlZ6n/CqEInY T/gUwMV93M5fF839+rh5/8PcuR1CDb5QKwq2zwFCZmPK/zp6YkRKx2cFX1w/ySzkNiZY plMA== 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 :message-id:date:subject:cc:to:from; bh=GyfR8cyHpB78knSR/Y10+dKfRq6q8Q/gmMHJUZwiJrk=; b=sJUdCroepaGAARhSDGLTxgkmi7X9HtIz10+nGnp4zGN3Xqf7KEYwCplxECeCS1dd6G rE70JNm1on94H8txGJZFbv6pagGj0Vnv/eVaDzZHDJRlhesGVDcDL8dHigMoIPFnAlXD PVullF8MXFEfz97BxixWDrXZ7NdP9HUSDwwRBNCmK6piZZDth0rekhGI6WR2a9ud9MfE N7gNJVk0wUrX1FbFwKgV0S6pFg64qSn9B4vMj5dRct8UHu7IaDBLH+iOVhpCfuIB3so9 3DB2+7ULxjAraEocUgKex/QkAXFsXy657n7qNDELVocezWk4+Q5uD0eXXRgZTT2HSu7J 7k+A== 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 q72si501044oic.18.2019.12.18.08.40.10; Wed, 18 Dec 2019 08:40:11 -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 S1727592AbfLRQkK (ORCPT + 27 others); Wed, 18 Dec 2019 11:40:10 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:40215 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbfLRQkJ (ORCPT ); Wed, 18 Dec 2019 11:40:09 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1MRTIx-1iMu9G3WSb-00NRZ9; Wed, 18 Dec 2019 17:39:55 +0100 From: Arnd Bergmann To: "Darrick J . Wong" , linux-xfs@vger.kernel.org Cc: y2038@lists.linaro.org, Arnd Bergmann , Brian Foster , Eric Sandeen , Allison Collins , Nick Bowler , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] xfs: rename compat_time_t to old_time32_t Date: Wed, 18 Dec 2019 17:39:28 +0100 Message-Id: <20191218163954.296726-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:E9mF7OYDn9JyQwrHLT+pY4Y1q8BDrhiycRQ3Ygb25o5lMFAbgML r8VIN8pCIoF2EG1eS0sqGdFs16ROCCbwJCM4eSC/EYLBG0P6ZOPrM+WDns2LZkHEOt6dKVZ KigR86K6jd1IXB9Is8ld5PoRU9RZXPkHIF0Ikm07i5N+v7aolUwAq5o8tcWHEe2Aa88Ttmy llvpZ3Q1tHfVjtUL7sAfw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:7cATP4CSdSk=:f9D6xz2FFGd7zqBrEqzNNr 25DzUk6VbJWMouHADDk631BIoq1VL5PSh7hi6MN7wfep+gWhhjEucBFmXuR2bO/5OCMvY4mta vqgKF5AmsMkxvawUCqaQx9jqlJYt+V0c40DieoYHeHf9vAficZdjykAMQi1lEz7IsTNnfqKFC /TMI42qGT8keVFBCOH12cYI6rMio/a0LVhxBntLzfQbCqgPdqzc2+v0ZyE/PZ7kHc204eXCmH bVIMh9B04C8NF1hVACl+DoJt9N2f0tWqd7CqzDkzS+BMWZVzCzr09i4m55OonYvDPGoegMKBm ZS7rWzAqtE1AITyw5o6qk/cphSQaBc/7tQzq7UnsXkgCCo9kZsno4XJdeh5+hnkIlX2Ob4wJX RajGiL1S3Kv35a3gUDWFM8zdebH4mahgIsiZGUIkOKeiBHfbiL1G9VyGq0QSTbRnSHM5x+SQi mHVSlXEaCQ39FQVNDnBpUJRRlssjqUHB9ShEY3V8+j19mYM0hnRGqAShlC+fo3QJXfDe4CGlM TfhaUyhamZXOXWxHWrFajja0AaRBC3L0vLcbJE4hS5kn1BGLng2eLIdq3gLwR457YQKuZh04O D7x6Wbf7HocsfpQu2rOdNz9uV3KHehT/U7FnUHY7FcNNXKARfZgRf8GOHj/zc6teMnBwp1k9o Ngk6ivNWG315zPJL7eah7wniA6dIDSAQXeXMgf6p5/QOWfpB5l+vV6k/lp8gpQ6mLSXyIKiAS B0NPEgoYzzGoK1y+rI4p/pShuZcq0fMxeraEw/VyuYarTKmEP3YlNUnzzkYY2A37KPWbwOTBW v4KERGsd9uBcow2SO2fhq7ww64iL5AdyKwz7i1X0lQhBkxO8+1QRZjn7l5nQyxZFmQpH3fTxd fVGYeDs4N4d/GOxBRhYQ== 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. Reviewed-by: Darrick J. Wong 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: Christoph Hellwig 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;