lockd: per-net NSM client creation and destruction helpers introduced
[pandora-kernel.git] / fs / lockd / svc.c
index 31a63f8..7e35587 100644 (file)
@@ -596,6 +596,7 @@ static int lockd_init_net(struct net *net)
 
        INIT_DELAYED_WORK(&ln->grace_period_end, grace_ender);
        INIT_LIST_HEAD(&ln->grace_list);
 
        INIT_DELAYED_WORK(&ln->grace_period_end, grace_ender);
        INIT_LIST_HEAD(&ln->grace_list);
+       spin_lock_init(&ln->nsm_clnt_lock);
        return 0;
 }
 
        return 0;
 }