From owner-cvs-all@FreeBSD.ORG Tue Nov 18 20:12:34 2003 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 1F07416A4CF; Tue, 18 Nov 2003 20:12:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0E3A43FB1; Tue, 18 Nov 2003 20:12:32 -0800 (PST) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJ4CWXJ006379; Tue, 18 Nov 2003 20:12:32 -0800 (PST) (envelope-from kan@repoman.freebsd.org) Received: (from kan@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJ4CWeL006378; Tue, 18 Nov 2003 20:12:32 -0800 (PST) (envelope-from kan) Message-Id: <200311190412.hAJ4CWeL006378@repoman.freebsd.org> From: Alexander Kabaev Date: Tue, 18 Nov 2003 20:12:32 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/linux linux_file.c src/sys/compat/svr4 svr4_misc.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: Wed, 19 Nov 2003 04:12:34 -0000 kan 2003/11/18 20:12:32 PST FreeBSD src repository Modified files: sys/compat/linux linux_file.c sys/compat/svr4 svr4_misc.c Log: Do not call VOP_GETATTR in getdents function. It does not serve any purpose and the resulting vattr structure was ignored. In addition, the VOP_GETATTR call was made with no vnode lock held, resulting in vnode locking violation panic with debug kernels. Reported by: truckman Approved by: re@ (rwatson) Revision Changes Path 1.83 +0 -6 src/sys/compat/linux/linux_file.c 1.68 +0 -6 src/sys/compat/svr4/svr4_misc.c