expire_cleanup: check the return code form ops->askumount
PATCH 1/1 expire_cleanup: check the return code form ops->askumount
Hi, Ian,
This looks like a minor oversight.
Cheers,
Jeff
Signed-off-by Jeff Moyer <[email protected]>
daemon/state.c +1 -1
@@ -160,7 +160,7 @@ void expire_cleanup(void *arg)* been signaled to shutdown. */ rv = ops->askumount (ap->logopt, ap->ioctlfd, &idle); -if (!idle && !ap->shutdown) { +if (!rv && !idle && !ap->shutdown) { next =ST_READY ;if (!ap->submount)alarm_add (ap, ap->exp_runfreq);