On Sunday 06 December 2015 22:04:03 Deepa Dinamani wrote:
This is in preparation for the y2038 changes for the vfs. vfs inode timestamps overflow after 2038.
This abstracts the timestamp representation so that any logic to convert between the struct inode timestamps and other interfaces can be placed here.
The plan is to globally change all references to these types through macros only. So when the actually internal representation changes, it will be transparent everywhere outside of the macros.
The internal representation changes will support larger timestamp range.
Signed-off-by: Deepa Dinamani deepa.kernel@gmail.com
Hi Deepa,
Can you give some more background how you plan to use these macros? With the current version, you seem to depend on the 'ts' argument to be the same type as i_##xtime, so we'd still have to change the all at the same time, right?
Arnd