*/
if (rc == -ETIMEDOUT &&
signal_pending(current)) {
- sigset_t blocked_sigs =
- cfs_block_sigsinv(LUSTRE_FATAL_SIGS);
+ sigset_t blocked_sigs;
+ cfs_block_sigsinv(LUSTRE_FATAL_SIGS,
+ &blocked_sigs);
/*
* In fact we only interrupt for the
* "fatal" signals like SIGINT or
*/
if (signal_pending(current))
ptlrpc_interrupted_set(set);
- cfs_restore_sigs(blocked_sigs);
+ cfs_restore_sigs(&blocked_sigs);
}
}