]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/statd/statd.c
statd - keep persistent state in sm/* files.
[nfs-utils.git] / utils / statd / statd.c
index 6c5dbde419ed6d932b569d740669efecc10467c0..a44f39f2394097863c14de256801984d9e6907f3 100644 (file)
@@ -479,6 +479,12 @@ int main (int argc, char **argv)
        /* Make sure we have a privilege port for calling into the kernel */
        statd_get_socket();
 
+       /* If sm-notify didn't take all the state files, load
+        * state information into our notify-list so we can
+        * pass on any SM_NOTIFY that arrives
+        */
+       load_state();
+
        for (;;) {
                pmap_unset (SM_PROG, SM_VERS);