Date: Wed, 12 Oct 2005 14:18:58 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ufs ufs_extattr.c Message-ID: <200510121418.j9CEIwZq044919@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-10-12 14:18:58 UTC
FreeBSD src repository
Modified files:
sys/ufs/ufs ufs_extattr.c
Log:
When performing a VOP_LOOKUP() as part of UFS1 extended attribute
auto-start, set cnp.cn_lkflags to LK_EXCLUSIVE. This flag must now
be set so that lockmgr knows what kind of lock to acquire, and it
will panic if not specified. This resulted in a panic when using
extended attributes on UFS1 as of locking work present in the 6.x
branch.
This is a RELENG_6_0 merge candidate.
Reported by: lofi
MFC after: 3 days
Revision Changes Path
1.82 +1 -0 src/sys/ufs/ufs/ufs_extattr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510121418.j9CEIwZq044919>
