freebsd-skq/sys/fs
Ed Schouten 219cc94999 Already initialize the vfs timestamps inside the cdev upon allocation.
In the MPSAFE TTY branch I noticed the vfs timestamps inside devfs were
allocated with 0, where the getattr() routine bumps the timestamps to
boottime if the value is below 3600. The reason why it has been designed
like this, is because timestamps during boot are likely to be invalid.

This means that device nodes that are created on demand (posix_openpt())
have timestamps with a value of boottime, which is not what we want.
Solve this by calling vfs_timestamp() inside devfs_alloc().

Discussed with:	kib
2008-09-21 14:02:43 +00:00
..
cd9660 Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
coda Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
deadfs Below is slightly edited description of the LOR by Tor Egge: 2007-01-22 11:25:22 +00:00
devfs Already initialize the vfs timestamps inside the cdev upon allocation. 2008-09-21 14:02:43 +00:00
fdescfs fdescfs, devfs, mqueuefs, nfs, portalfs, pseudofs, tmpfs and xfs 2008-09-20 19:50:52 +00:00
fifofs Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
hpfs Initialize va_rdev to NODEV instead of 0 or VNOVAL in VOP_GETATTR(). 2008-09-20 19:49:15 +00:00
msdosfs Initialize va_rdev to NODEV instead of 0 or VNOVAL in VOP_GETATTR(). 2008-09-20 19:49:15 +00:00
ntfs Initialize va_rdev to NODEV instead of 0 or VNOVAL in VOP_GETATTR(). 2008-09-20 19:49:15 +00:00
nullfs Fix two small typo's in comments in the nullfs vnops code. 2008-09-11 20:15:34 +00:00
nwfs Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
portalfs fdescfs, devfs, mqueuefs, nfs, portalfs, pseudofs, tmpfs and xfs 2008-09-20 19:50:52 +00:00
procfs Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
pseudofs fdescfs, devfs, mqueuefs, nfs, portalfs, pseudofs, tmpfs and xfs 2008-09-20 19:50:52 +00:00
smbfs Initialize va_rdev to NODEV instead of 0 or VNOVAL in VOP_GETATTR(). 2008-09-20 19:49:15 +00:00
tmpfs fdescfs, devfs, mqueuefs, nfs, portalfs, pseudofs, tmpfs and xfs 2008-09-20 19:50:52 +00:00
udf Initialize va_rdev to NODEV instead of 0 or VNOVAL in VOP_GETATTR(). 2008-09-20 19:49:15 +00:00
unionfs Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00