X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fstatd%2Fmonitor.c;h=879e583036ebe437bc7e058045586bc1e539238b;hb=bb7332c8ae35110fc9c93200be8830230b7a17be;hp=5a782dcccc18a7046b39ba0bac7f4959964ed5ed;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9;p=nfs-utils.git diff --git a/utils/statd/monitor.c b/utils/statd/monitor.c index 5a782dc..879e583 100644 --- a/utils/statd/monitor.c +++ b/utils/statd/monitor.c @@ -67,10 +67,13 @@ sm_mon_1_svc(struct mon *argp, struct svc_req *rqstp) my_name = "127.0.0.1"; /* 2. Reject any registrations for non-lockd services. + * * This is specific to the linux kernel lockd, which * makes the callback procedure part of the lockd interface. + * It is also prone to break when lockd changes its callback + * procedure number. XXX FIXME */ - if (id->my_proc != 100021) { + if (id->my_proc != 100021 && id->my_proc != 24) { log(L_WARNING, "Attempt to register callback to service %d", id->my_proc);