NLM: Fix reclaim races
[linux-2.6.git] / include / linux / lockd / lockd.h
index a6c1a33e5ae30eaa56cd404428b5058fab1d5034..6b2684763fc79721a5723993090b9182640df108 100644 (file)
@@ -50,6 +50,7 @@ struct nlm_host {
                                h_killed     : 1,
                                h_monitored  : 1;
        wait_queue_head_t       h_gracewait;    /* wait while reclaiming */
+       struct rw_semaphore     h_rwsem;        /* Reboot recovery lock */
        u32                     h_state;        /* pseudo-state counter */
        u32                     h_nsmstate;     /* true remote NSM state */
        u32                     h_pidcount;     /* Pseudopids */