/* Convert an Unix time to ADFS time. We only do this if the entry has a time/date stamp already.  */
static void adfs_unix2adfs_time(struct inode *inode, unsigned int secs)
/* Convert an Unix time to ADFS time. We only do this if the entry has a time/date stamp already.  */
static void adfs_unix2adfs_time(struct inode *inode, unsigned int secs)
{
	unsigned int high, low;
	if (ADFS_I(inode)->stamped) {
		low  = (secs & 255) * 100;
		high = (secs / 256) * 100 + (low >> 8) + 0x336e996a;
		ADFS_I(inode)->loadaddr = (high >> 24) |
				(ADFS_I(inode)->loadaddr & ~0xff);
		ADFS_I(inode)->execaddr = (low & 255) | (high << 8);
	}
}