From owner-cvs-all@FreeBSD.ORG Fri Apr 20 01:47:06 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7835916A402; Fri, 20 Apr 2007 01:47:06 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 54D5113C45E; Fri, 20 Apr 2007 01:47:06 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3K1l6bK072775; Fri, 20 Apr 2007 01:47:06 GMT (envelope-from trhodes@repoman.freebsd.org) Received: (from trhodes@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3K1l6Di072774; Fri, 20 Apr 2007 01:47:06 GMT (envelope-from trhodes) Message-Id: <200704200147.l3K1l6Di072774@repoman.freebsd.org> From: Tom Rhodes Date: Fri, 20 Apr 2007 01:47:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/devfs devfs_vnops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 01:47:06 -0000 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