Print this page
8115 parallel zfs mount
@@ -9,10 +9,11 @@
* http://www.illumos.org/license/CDDL.
*/
/*
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2017 RackTop Systems.
*/
/*
* mutex(9f)
*/
@@ -49,11 +50,11 @@
{
mp->m_owner = _KTHREAD_INVALID;
}
void
-mutex_enter(kmutex_t *mp)
+kmutex_enter(kmutex_t *mp)
{
VERIFY(0 == _lwp_mutex_lock(&mp->m_lock));
mp->m_owner = _curthread();
}
@@ -69,11 +70,11 @@
}
return (0);
}
void
-mutex_exit(kmutex_t *mp)
+kmutex_exit(kmutex_t *mp)
{
ASSERT(mp->m_owner == _curthread());
mp->m_owner = _KTHREAD_INVALID;
(void) _lwp_mutex_unlock(&mp->m_lock);
}