freebsd-skq/sys/fs
Bruce Evans 63e4f22a2a Fix numerous timestamp bugs.
DE_UPDATE was confused with DE_MODIFIED in some places (they do have
confusing names).  Handle them exactly the same as IN_UPDATE and
IN_MODIFIED.  This fixes chmod() and chown() clobbering the mtime
and other bugs.

DE_MODIFIED was set but not used.

Parenthesize macro args.

DE_TIMES() now takes a timeval arg instead of a timespec arg.  It was
stupid to use a macro for speed and do unused conversions to prepare
for the macro.

Restore the left shifting of the DOS seconds count by 1.  It got
lost among the shifts for the bitfields, so DOS seconds counts
appeared to range from 0 to 29 seconds (step 1) instead of 0 to 58
seconds (step 2).

Actually use the passed-in mtime in deupdat() as documented so that
utimes() works.

Change `extern __inline's to `static inline's so that msdosfs_fat.o
can be linked when it is compiled without -O.

Remove faking of directory mtimes to always be the current time.  It's
more surprising for directory mtimes to change when you read the
directories than for them not to change when you write the directories.
This should be controlled by a mount-time option if at all.
1994-12-12 12:35:50 +00:00
..
cd9660 Remove the bogus include of <sys/dkbad.h>. 1994-11-14 07:01:58 +00:00
deadfs Cosmetics: added a #include and a static prototype to silence gcc. 1994-10-08 22:37:00 +00:00
fdescfs Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
fifofs GCC cleanup. 1994-10-02 17:48:58 +00:00
msdosfs Fix numerous timestamp bugs. 1994-12-12 12:35:50 +00:00
nullfs Cosmetics. reduce the noise from gcc -Wall. 1994-10-10 07:55:48 +00:00
portalfs Cosmetics. reduce the noise from gcc -Wall. 1994-10-10 07:55:48 +00:00
procfs Fixed bug I just introduced that would have allowed a user to clobber 1994-10-18 04:40:41 +00:00
specfs Undo a previous change. <sys/disklabel.h> was broken, not these files. 1994-11-14 13:22:52 +00:00
umapfs Cosmetics. reduce the noise from gcc -Wall. 1994-10-10 07:55:48 +00:00
unionfs From tim@cs.city.ac.uk (Tim Wilkinson): 1994-11-04 14:41:46 +00:00