freebsd-nq/sys/fs/msdosfs
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
..
bootsect.h Added msdosfs. 1994-09-19 15:41:57 +00:00
bpb.h Added msdosfs. 1994-09-19 15:41:57 +00:00
denode.h Fix numerous timestamp bugs. 1994-12-12 12:35:50 +00:00
direntry.h Added msdosfs. 1994-09-19 15:41:57 +00:00
fat.h Added declarations, fixed bugs due to missing decls. At least one of them 1994-09-27 20:42:59 +00:00
msdosfs_conv.c Fix numerous timestamp bugs. 1994-12-12 12:35:50 +00:00
msdosfs_denode.c Fix numerous timestamp bugs. 1994-12-12 12:35:50 +00:00
msdosfs_fat.c Fix numerous timestamp bugs. 1994-12-12 12:35:50 +00:00
msdosfs_lookup.c Added declarations, fixed bugs due to missing decls. At least one of them 1994-09-27 20:42:59 +00:00
msdosfs_vfsops.c Fix numerous timestamp bugs. 1994-12-12 12:35:50 +00:00
msdosfs_vnops.c Fix numerous timestamp bugs. 1994-12-12 12:35:50 +00:00
msdosfsmount.h Added declarations, fixed bugs due to missing decls. At least one of them 1994-09-27 20:42:59 +00:00