Messages in this thread | | | Date | Wed, 20 Jun 2018 10:34:44 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [PATCH] sysvfs: use ktime_get_real_seconds() for superblock stamp |
| |
On Tue, 19 Jun 2018, Arnd Bergmann wrote:
> get_seconds() is deprecated in favor of ktime_get_real_seconds(), > which returns a 64-bit timestamp. > > In the SYSV file system, the superblock timestamp is only 32 bits > wide, and it is used to check whether a file system is clean, so > the best solution seems to be to force a wraparound and explicitly > convert it to an unsigned 32-bit value. > > This is independent of the inode timestamps that are also 32-bit > wide on disk and that come from current_time().
Acked-by: Thomas Gleixner <tglx@linutronix.de>
| |