]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/statd/callback.c
Remove notify functionality from statd in favour of sm-notify
[nfs-utils.git] / utils / statd / callback.c
index 09477271d6c5a4918a049ccde3ed02678dfb39c4..bb8bf523be139199e06b17e765c2825b8ddb409e 100644 (file)
@@ -6,7 +6,9 @@
  * NSM for Linux.
  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "statd.h"
 #include "notlist.h"
 
@@ -47,7 +49,6 @@ sm_notify_1_svc(struct stat_chge *argp, struct svc_req *rqstp)
                if (NL_STATE(lp) != argp->state) {
                        NL_STATE(lp) = argp->state;
                        call = nlist_clone(lp);
-                       NL_TYPE(call) = NOTIFY_CALLBACK;
                        nlist_insert(&notify, call);
                }
                lp = NL_NEXT(lp);