svn commit: r241325 - stable/8/sys/dev/mfi
John Baldwin
jhb at FreeBSD.org
Sun Oct 7 18:42:03 UTC 2012
Author: jhb
Date: Sun Oct 7 18:42:02 2012
New Revision: 241325
URL: http://svn.freebsd.org/changeset/base/241325
Log:
MFC 240962:
Grab the mfi_config_lock while performing a MFI_DCMD_CFG_FOREIGN_IMPORT
request on behalf of a user utility.
Modified:
stable/8/sys/dev/mfi/mfi.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/dev/ (props changed)
stable/8/sys/dev/mfi/ (props changed)
Modified: stable/8/sys/dev/mfi/mfi.c
==============================================================================
--- stable/8/sys/dev/mfi/mfi.c Sun Oct 7 18:41:48 2012 (r241324)
+++ stable/8/sys/dev/mfi/mfi.c Sun Oct 7 18:42:02 2012 (r241325)
@@ -2550,6 +2550,7 @@ mfi_config_lock(struct mfi_softc *sc, ui
case MFI_DCMD_LD_DELETE:
case MFI_DCMD_CFG_ADD:
case MFI_DCMD_CFG_CLEAR:
+ case MFI_DCMD_CFG_FOREIGN_IMPORT:
sx_xlock(&sc->mfi_config_lock);
return (1);
default:
More information about the svn-src-stable
mailing list