From owner-cvs-src@FreeBSD.ORG Sat Sep 20 19:48:43 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 312FD106574E; Sat, 20 Sep 2008 19:48:43 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 05C5F8FC1D; Sat, 20 Sep 2008 19:48:43 +0000 (UTC) (envelope-from kib@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 m8KJmgQe090757; Sat, 20 Sep 2008 19:48:42 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8KJmgDh090752; Sat, 20 Sep 2008 19:48:42 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200809201948.m8KJmgDh090752@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sat, 20 Sep 2008 19:48:24 +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/kern vfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 19:48:43 -0000 kib 2008-09-20 19:48:24 UTC FreeBSD src repository Modified files: sys/kern vfs_vnops.c Log: SVN rev 183213 on 2008-09-20 19:48:24Z by kib Initialize va_rdev to NODEV and va_fsid to VNOVAL before the VOP_GETATTR() call in vn_stat(). Thus if a file system doesn't initialize those fields in VOP_GETATTR() they will have a sane default value. Submitted by: Jaakko Heinonen Discussed on: freebsd-fs MFC after: 1 month Revision Changes Path 1.267 +2 -0 src/sys/kern/vfs_vnops.c