Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1426002

Re: [PATCH] quota: use time64_t internally

From Jan Kara <jack@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH] quota: use time64_t internally
Date 2016-06-19 18:30 +0200
Message-ID <rLNLI-4H6-35@gated-at.bofh.it> (permalink)
References <rL8fv-2Ds-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 17-06-16 22:03:16, Arnd Bergmann wrote:
> The quota subsystem has two formats, the old v1 format using architecture
> specific time_t values on the on-disk format, while the v2 format
> (introduced in Linux 2.5.16 and 2.4.22) uses fixed 64-bit little-endian.
> 
> While there is no future for the v1 format beyond y2038, the v2 format
> is almost there on 32-bit architectures, as both the user interface
> and the on-disk format use 64-bit timestamps, just not the time_t
> inbetween.
> 
> This changes the internal representation to use time64_t, which will
> end up doing the right thing everywhere for v2 format.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Thanks. I've added the patch to my tree and will push it to Linus in the
next merge window.

								Honza
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] quota: use time64_t internally Arnd Bergmann <arnd@arndb.de> - 2016-06-17 22:10 +0200
  Re: [PATCH] quota: use time64_t internally Jan Kara <jack@suse.cz> - 2016-06-19 18:30 +0200

csiph-web