Re: [RESEND] fs: ext4: Use current_time() for inode timestamps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 11, 2016 at 10:32:57AM -0800, Deepa Dinamani wrote:
> CURRENT_TIME_SEC and CURRENT_TIME are not y2038 safe.
> current_time() will be transitioned to be y2038 safe
> along with vfs.
> 
> current_time() returns timestamps according to the
> granularities set in the super_block.
> The granularity check in ext4_current_time() to call
> current_time() or CURRENT_TIME_SEC is not required.
> Use current_time() directly to obtain timestamps
> unconditionally, and remove ext4_current_time().
> 
> Quota files are assumed to be on the same filesystem.
> Hence, use current_time() for these files as well.
> 
> Signed-off-by: Deepa Dinamani <deepa.kernel@xxxxxxxxx>
> Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>

Thanks, applied.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux