X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fstatd%2Fcallback.c;fp=utils%2Fstatd%2Fcallback.c;h=505fdb3c742112d09ea25230ee5588c4ff6e9915;hb=9b13713fa592b02da0dc79c5505fdf7002155d13;hp=d5d036e9fc28357b3ef703f3da3005f7cee0ad06;hpb=2fd04076023d696e5e7ffa17998e9d32990e57bf;p=nfs-utils.git diff --git a/utils/statd/callback.c b/utils/statd/callback.c index d5d036e..505fdb3 100644 --- a/utils/statd/callback.c +++ b/utils/statd/callback.c @@ -36,11 +36,9 @@ sm_notify_1_svc(struct stat_chge *argp, struct svc_req *rqstp) argp->mon_name, argp->state); /* quick check - don't bother if we're not monitoring anyone */ - /* LH - this was != MULL, meaning that if anyone _was_ in our RTNL, - * we'd never pass this point. */ - if (!(lp = rtnl)) { + if (rtnl == NULL) { note(N_WARNING, "SM_NOTIFY from %s while not monitoring any hosts.", - argp->mon_name, argp->state); + argp->mon_name); return ((void *) &result); }