Subject: Re: Bug in MSDOSFS - deupdat()
To: None <mikeh@hds.com>
From: Charles M. Hannum <mycroft@gnu.ai.mit.edu>
List: netbsd-bugs
Date: 08/29/1994 01:24:18
   Description:    The modification time that gets set in the directory entry
		   comes from the kernel 'time' timeval, instead of the time that
		   was passed as an argument.  deupdat() is normally called with
		   the kernel 'time' timeval, the exception is in
		   msdosfs_setattr().

		   Additionally, the second argument to deupdat() should be type
		   "struct timeval *" not "struct timespec *".

You apparently looked at msdosfs_setattr(), but missed the fact that
va_mtime, which it's passing to deupdat(), is a timespec, not a
timeval.


------------------------------------------------------------------------------