Re: [PATCH v5 2/2] e2fsck: Correct ext4 dates generated by old kernels.

2013-11-14 Thread Mark Harris
> +/* When today's date is earlier than 2242, we assume that atimes, > + * ctimes, and mtimes greater than 2242 are actually pre-1970 dates ...mtimes with years in the range 2310..2378 are... > + * mis-encoded. > + */ > +#define EXT4_EXTRA_NEGATIVE_DATE_CUTOFF 5 * (1ULL << 32) Wouldn't 2242 be 0

Re: [PATCH] ext4: explain encoding of 34-bit a,c,mtime values

2013-11-09 Thread Mark Harris
On 8 November 2013 23:19, David Turner wrote: > > On Fri, 2013-11-08 at 14:37 -0700, Andreas Dilger wrote: > > On Nov 7, 2013, at 4:26 PM, David Turner wrote: > > > On Fri, 2013-11-08 at 00:14 +0100, Jan Kara wrote: > > >> Still unnecessary type cast here (but that's a cosmetic issue). > > > ...