Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 22:46:31 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/compat/linux linux_util.c
Message-ID:  <20040114224559.K36463-100000@mail.chesapeake.net>
In-Reply-To: <200401142238.i0EMc3HB035466@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Jan 2004, Don Lewis wrote:

> 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().

I'm not sure that the vnode pointer compare works in the case of device
aliasing.  Any comments?

Cheers,
Jeff

>
>   Revision  Changes    Path
>   1.24      +1 -13     src/sys/compat/linux/linux_util.c
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040114224559.K36463-100000>