Date: Fri, 20 Apr 2007 01:47:05 +0000 (UTC) From: Tom Rhodes <trhodes@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/devfs devfs_vnops.c Message-ID: <200704200147.l3K1l6Di072774@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
trhodes 2007-04-20 01:47:05 UTC FreeBSD src repository Modified files: sys/fs/devfs devfs_vnops.c Log: In some cases, like whenever devfs file times are zero, the fix(aa) will not be applied to dev entries. This leaves us with file times like "Jan 1 1970." Work around this problem by replacing the tv_sec == 0 check with a <= 3600 check. It's doubtful anyone will be booting within an hour of the Epoch, let alone care about a few seconds worth of nonzero timestamps. It's a hackish work around, but it does work and I have not experienced any negatives in my testing. Discussed with: bde "Ok with me: phk Revision Changes Path 1.144 +1 -1 src/sys/fs/devfs/devfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704200147.l3K1l6Di072774>