Re: [PATCH v4 1/2] ext4: Fix handling of extended tv_sec (bug 23732)

2013-11-13 Thread Darrick J. Wong
On Wed, Nov 13, 2013 at 02:00:15AM -0500, David Turner wrote: > In ext4, the bottom two bits of {a,c,m}time_extra are used to extend > the {a,c,m}time fields, deferring the year 2038 problem to the year > 2446. > > When decoding these extended fields, for times whose bottom 32 bits > would represe

[PATCH v4 1/2] ext4: Fix handling of extended tv_sec (bug 23732)

2013-11-12 Thread David Turner
In ext4, the bottom two bits of {a,c,m}time_extra are used to extend the {a,c,m}time fields, deferring the year 2038 problem to the year 2446. When decoding these extended fields, for times whose bottom 32 bits would represent a negative number, sign extension causes the 64-bit extended timestamp