svn commit: r241324 - stable/9/sys/dev/mfi
John Baldwin
jhb at FreeBSD.org
Sun Oct 7 18:41:49 UTC 2012
Author: jhb
Date: Sun Oct 7 18:41:48 2012
New Revision: 241324
URL: http://svn.freebsd.org/changeset/base/241324
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/9/sys/dev/mfi/mfi.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/mfi/mfi.c
==============================================================================
--- stable/9/sys/dev/mfi/mfi.c Sun Oct 7 18:37:59 2012 (r241323)
+++ stable/9/sys/dev/mfi/mfi.c Sun Oct 7 18:41:48 2012 (r241324)
@@ -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-9
mailing list