Date: Tue, 18 Nov 2003 20:12:32 -0800 (PST) From: Alexander Kabaev <kan@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_file.c src/sys/compat/svr4 svr4_misc.c Message-ID: <200311190412.hAJ4CWeL006378@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311190412.hAJ4CWeL006378>
