Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1431517
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 15/24] drivers: staging: lustre: Replace CURRENT_TIME with current_time() |
| Date | 2016-06-26 16:50 +0200 |
| Message-ID | <rOjxL-49q-5@gated-at.bofh.it> (permalink) |
| References | <rO3t0-2bb-7@gated-at.bofh.it> <rO3t0-2bb-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <deepa.kernel@gmail.com> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: lustre-devel@lists.lustre.org > Acked-by: James Simmons <jsimmons@infradead.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v3 15/24] drivers: staging: lustre: Replace CURRENT_TIME with current_time() Deepa Dinamani <deepa.kernel@gmail.com> - 2016-06-25 23:40 +0200 Re: [PATCH v3 15/24] drivers: staging: lustre: Replace CURRENT_TIME with current_time() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-06-26 16:50 +0200
csiph-web