From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:57793 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752023AbcFZOnj (ORCPT ); Sun, 26 Jun 2016 10:43:39 -0400 Date: Sat, 25 Jun 2016 14:45:14 -0700 From: Greg Kroah-Hartman To: Deepa Dinamani Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, tglx@linutronix.de, torvalds@linux-foundation.org, tytso@mit.edu, viro@zeniv.linux.org.uk, y2038@lists.linaro.org, lustre-devel@lists.lustre.org Subject: Re: [PATCH v3 15/24] drivers: staging: lustre: Replace CURRENT_TIME with current_time() Message-ID: <20160625214514.GA11267@kroah.com> References: <1466890668-23400-1-git-send-email-deepa.kernel@gmail.com> <1466890668-23400-16-git-send-email-deepa.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1466890668-23400-16-git-send-email-deepa.kernel@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Jun 25, 2016 at 02:37:39PM -0700, Deepa Dinamani wrote: > CURRENT_TIME macro is not appropriate for filesystems as it > doesn't use the right granularity for filesystem timestamps. > Use current_time() instead. > > This is also in preparation for the patch that transitions > vfs timestamps to use 64 bit time and hence make them > y2038 safe. As part of the effort current_time() will be > extended to do range checks. Hence, it is necessary for all > file system timestamps to use current_time(). > > Also change format string for prints so that these are valid > when vfs is transitioned to use 64 bit timestamps. > > Signed-off-by: Deepa Dinamani > Cc: Greg Kroah-Hartman > Cc: lustre-devel@lists.lustre.org > Acked-by: James Simmons Acked-by: Greg Kroah-Hartman