cvs commit: src/sys/ufs/ufs ufs_extattr.c

Robert Watson rwatson at
Wed Oct 12 07:19:00 PDT 2005

rwatson     2005-10-12 14:18:58 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ufs          ufs_extattr.c 
  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
  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

More information about the cvs-src mailing list