summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-17 23:03:16 +0300
committerJan Kara <jack@suse.cz>2016-06-19 19:09:31 +0300
commite008bb6134a6e68fd2c827a46b27d017d920de8f (patch)
tree253cd110fb38b9ac918a118bdd1bb5b4062a147b /samples
parentb9d8905e4a751e2cdc0fb474856b7183c594dcc6 (diff)
downloadlinux-e008bb6134a6e68fd2c827a46b27d017d920de8f.tar.xz
quota: use time64_t internally
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> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions