From owner-cvs-src-old@FreeBSD.ORG Thu Feb 19 22:10:49 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71270106567B for ; Thu, 19 Feb 2009 22:10:49 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5E40B8FC1A for ; Thu, 19 Feb 2009 22:10:49 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1JMAnor038045 for ; Thu, 19 Feb 2009 22:10:49 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1JMAnqC038044 for cvs-src-old@freebsd.org; Thu, 19 Feb 2009 22:10:49 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200902192210.n1JMAnqC038044@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 19 Feb 2009 22:10:39 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsclient nfs_vnops.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 22:10:49 -0000 jhb 2009-02-19 22:10:39 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vnops.c Log: SVN rev 188831 on 2009-02-19 22:10:39Z by jhb Don't clear the attribute cache of a file when it is closed. A subsequent open() of the same file will load fresh attributes, so they do not need to be explicitly flushed in close() to guarantee close to open consistency. However, other file desciptors may still reference this file and clearing the attributes in close() forces those other file descriptors to fetch fresh attributes the next time they need them. Reviewed by: mohans MFC after: 1 week Revision Changes Path 1.298 +0 -7 src/sys/nfsclient/nfs_vnops.c