From patchwork Thu Jan 7 05:36:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepa Dinamani X-Patchwork-Id: 7973521 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6CA77BEEE5 for ; Thu, 7 Jan 2016 05:38:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 996C020149 for ; Thu, 7 Jan 2016 05:38:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C413C2012D for ; Thu, 7 Jan 2016 05:38:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752847AbcAGFiS (ORCPT ); Thu, 7 Jan 2016 00:38:18 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36387 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752757AbcAGFhI (ORCPT ); Thu, 7 Jan 2016 00:37:08 -0500 Received: by mail-pa0-f52.google.com with SMTP id yy13so157143094pab.3; Wed, 06 Jan 2016 21:37:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=325+MY0vxAvfE+zbQnpEbeiec37JOa8gZexqf2IvwIk=; b=Olj941w059yYM+v/i6h3vM5j8MK56GCxIl52SRYuFi2VE0GNi4FCLabAENmjSrGtX0 yAzzWQKJgPLYwFqfOz6HYxrWx4FdjSf7hsxvyvGnP7O7xgGmrr4iVZOGc9KFllRG8C6b 2JATGTJ+YXaGVucLwx1ZVxU+xY4jEED2Xq6A8KnOfUu3A7ObkDuOdqPREkLeeKzWp5ow kgh41DX59I109eYr8LMvzfDqLRqA67TpRaL9vK3xpAZgW5f/I/TaS1+c5ZbVdCZ14twK hO9KtgxC50TXrPCQXcLFUoF0QHwbJzmpckDzEaBTksm/5v++BbRRF500XJgKmawrsvHU YbaA== X-Received: by 10.66.242.17 with SMTP id wm17mr115282028pac.155.1452145027763; Wed, 06 Jan 2016 21:37:07 -0800 (PST) Received: from localhost.localdomain ([106.51.24.71]) by smtp.gmail.com with ESMTPSA id kk5sm131390736pab.16.2016.01.06.21.37.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Jan 2016 21:37:07 -0800 (PST) From: Deepa Dinamani To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, y2038@lists.linaro.org Subject: [RFC 14/15] vfs: Remove inode_timespec aliases Date: Wed, 6 Jan 2016 21:36:11 -0800 Message-Id: <1452144972-15802-15-git-send-email-deepa.kernel@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1452144972-15802-1-git-send-email-deepa.kernel@gmail.com> References: <1452144972-15802-1-git-send-email-deepa.kernel@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SBL_CSS, RP_MATCHES_RCVD, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Now that CONFIG_FS_USES_64BIT_TIME is enabled, the aliases for inode_timespec are no longer used and can be removed. Signed-off-by: Deepa Dinamani --- include/linux/time64.h | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/include/linux/time64.h b/include/linux/time64.h index eb3cdc0..f30c910 100644 --- a/include/linux/time64.h +++ b/include/linux/time64.h @@ -26,27 +26,6 @@ struct itimerspec64 { #endif -#ifdef CONFIG_FS_USES_64BIT_TIME - -/* Place holder defines until CONFIG_FS_USES_64BIT_TIME - * is enabled. - * timespec64 data type and functions will be used at that - * time directly and these defines will be deleted. - */ -#define inode_timespec timespec64 - -#define inode_timespec_compare timespec64_compare -#define inode_timespec_equal timespec64_equal - -#else - -#define inode_timespec timespec - -#define inode_timespec_compare timespec_compare -#define inode_timespec_equal timespec_equal - -#endif - #define CURRENT_TIME64 (current_kernel_time64()) #define CURRENT_TIME64_SEC \ ((struct timespec64) { ktime_get_real_seconds(), 0 })