int
stt_timer_main (void *arg)
{
+ int rc = 0;
UNUSED(arg);
cfs_daemonize("st_timer");
cfs_waitq_wait_event_timeout(stt_data.stt_waitq,
stt_data.stt_shuttingdown,
- cfs_time_seconds(STTIMER_SLOTTIME));
+ cfs_time_seconds(STTIMER_SLOTTIME),
+ rc);
}
spin_lock(&stt_data.stt_lock);