Re: [PATCH v8 08/20] adfs: Fill in max and min timestamps in sb

2019-08-20 Thread Deepa Dinamani
On Tue, Aug 20, 2019 at 9:28 AM Matthew Wilcox wrote: > > On Sun, Aug 18, 2019 at 09:58:05AM -0700, Deepa Dinamani wrote: > > Note that the min timestamp is assumed to be > > 01 Jan 1970 00:00:00 (Unix epoch). This is consistent > > with the way we convert timestamps in adfs_adfs2unix_time(). > >

Re: [PATCH v8 08/20] adfs: Fill in max and min timestamps in sb

2019-08-20 Thread Matthew Wilcox
On Sun, Aug 18, 2019 at 09:58:05AM -0700, Deepa Dinamani wrote: > Note that the min timestamp is assumed to be > 01 Jan 1970 00:00:00 (Unix epoch). This is consistent > with the way we convert timestamps in adfs_adfs2unix_time(). That's not actually correct. RISC OS timestamps are centiseconds

[PATCH v8 08/20] adfs: Fill in max and min timestamps in sb

2019-08-18 Thread Deepa Dinamani
Fill in the appropriate limits to avoid inconsistencies in the vfs cached inode times when timestamps are outside the permitted range. Note that the min timestamp is assumed to be 01 Jan 1970 00:00:00 (Unix epoch). This is consistent with the way we convert timestamps in adfs_adfs2unix_time().