mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
Rename cv_wait_interruptible() to cv_wait_sig()
This is the counterpart to zfsonlinux/spl@2345368 which replaces the cv_wait_interruptible() function with cv_wait_sig(). There is no functional change to patch merely brings the function names in to sync to maximize portability. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #3450 Issue #3402
This commit is contained in:
+2
-2
@@ -242,10 +242,10 @@ txg_thread_wait(tx_state_t *tx, callb_cpr_t *cpr, kcondvar_t *cv, clock_t time)
|
||||
CALLB_CPR_SAFE_BEGIN(cpr);
|
||||
|
||||
if (time)
|
||||
(void) cv_timedwait_interruptible(cv, &tx->tx_sync_lock,
|
||||
(void) cv_timedwait_sig(cv, &tx->tx_sync_lock,
|
||||
ddi_get_lbolt() + time);
|
||||
else
|
||||
cv_wait_interruptible(cv, &tx->tx_sync_lock);
|
||||
cv_wait_sig(cv, &tx->tx_sync_lock);
|
||||
|
||||
CALLB_CPR_SAFE_END(cpr, &tx->tx_sync_lock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user