From owner-cvs-all@FreeBSD.ORG Wed Jan 14 14:38:35 2004 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 92CF016A4CE; Wed, 14 Jan 2004 14:38:35 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E3A243D83; Wed, 14 Jan 2004 14:38:03 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0EMc30B035467; Wed, 14 Jan 2004 14:38:03 -0800 (PST) (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0EMc3HB035466; Wed, 14 Jan 2004 14:38:03 -0800 (PST) (envelope-from truckman) Message-Id: <200401142238.i0EMc3HB035466@repoman.freebsd.org> From: Don Lewis Date: Wed, 14 Jan 2004 14:38:03 -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_util.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, 14 Jan 2004 22:38:35 -0000 truckman 2004/01/14 14:38:03 PST FreeBSD src repository Modified files: sys/compat/linux linux_util.c Log: VOP_GETATTR() wants the vnode passed to it to be locked. Instead of adding the code to lock and unlock the vnodes and taking care to avoid deadlock, simplify linux_emul_convpath() by comparing the vnode pointers directly instead of comparing their va_fsid and va_fileid attributes. This allows the removal of the calls to VOP_GETATTR(). Revision Changes Path 1.24 +1 -13 src/sys/compat/linux/linux_util.c