From owner-cvs-all@FreeBSD.ORG Tue Jan 11 18:52:13 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E94F16A4CE; Tue, 11 Jan 2005 18:52:13 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD2AD43D2F; Tue, 11 Jan 2005 18:52:12 +0000 (GMT) (envelope-from ssouhlal@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0BIqCQf097692; Tue, 11 Jan 2005 18:52:12 GMT (envelope-from ssouhlal@repoman.freebsd.org) Received: (from ssouhlal@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0BIqCw4097686; Tue, 11 Jan 2005 18:52:12 GMT (envelope-from ssouhlal) Message-Id: <200501111852.j0BIqCw4097686@repoman.freebsd.org> From: Suleiman Souhlal Date: Tue, 11 Jan 2005 18:52:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/fstat fstat.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 11 Jan 2005 18:52:13 -0000 ssouhlal 2005-01-11 18:52:12 UTC FreeBSD src repository Modified files: usr.bin/fstat fstat.c Log: Get the vnode from file.f_vnode instead of file.f_data. Nowadays, f_data points to the vnode only if the underlying filesystem doesn't use it for other purposes (devfs uses it to store the cdev, for example). Found by: csjp Reviewed by: csjp Approved by: phk, wes, grehan (mentor) MFC after: 1 week Revision Changes Path 1.57 +2 -2 src/usr.bin/fstat/fstat.c