summaryrefslogtreecommitdiffstats
path: root/module/zfs/mmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/mmp.c')
-rw-r--r--module/zfs/mmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/zfs/mmp.c b/module/zfs/mmp.c
index abdce3a32..f8ba21695 100644
--- a/module/zfs/mmp.c
+++ b/module/zfs/mmp.c
@@ -187,7 +187,7 @@ uint_t zfs_multihost_import_intervals = MMP_DEFAULT_IMPORT_INTERVALS;
uint_t zfs_multihost_fail_intervals = MMP_DEFAULT_FAIL_INTERVALS;
static void *const mmp_tag = "mmp_write_uberblock";
-static void mmp_thread(void *arg);
+static _Noreturn void mmp_thread(void *arg);
void
mmp_init(spa_t *spa)
@@ -217,7 +217,7 @@ mmp_thread_enter(mmp_thread_t *mmp, callb_cpr_t *cpr)
mutex_enter(&mmp->mmp_thread_lock);
}
-static void
+static _Noreturn void
mmp_thread_exit(mmp_thread_t *mmp, kthread_t **mpp, callb_cpr_t *cpr)
{
ASSERT(*mpp != NULL);
@@ -537,7 +537,7 @@ mmp_write_uberblock(spa_t *spa)
zio_nowait(zio);
}
-static void
+static _Noreturn void
mmp_thread(void *arg)
{
spa_t *spa = (spa_t *)arg;