cvs commit: src/sys/compat/opensolaris/kern opensolaris_vfs.c

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Thu, 1 Nov 2007 08:58:29 +0000 (UTC)
pjd         2007-11-01 08:58:29 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/opensolaris/kern opensolaris_vfs.c 
  Log:
  - Move crfree() outside MNT_ILOCK()/MNT_IUNLOCK() to eliminate a LOR:
    1st 0xc4cea568 struct mount mtx (struct mount mtx) _at_ /usr/src/sys/modules/zfs/../../compat/opensolaris/kern/opensolaris_vfs.c:209
    2nd 0xc3ee9010 sleep mtxpool (sleep mtxpool) _at_ /usr/src/sys/kern/kern_resource.c:1266
  - Move crdup() outside MNT_ILOCK()/MNT_IUNLOCK(), as it can sleep.
  
  Reported by:    Olli Hauer <ohauer_at_gmx.de>
  MFC after:      3 days
  
  Revision  Changes    Path
  1.7       +7 -3      src/sys/compat/opensolaris/kern/opensolaris_vfs.c
Received on Thu Nov 01 2007 - 08:58:30 UTC