]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/dlm/member.c
[DLM] add lock timeouts and warnings [2/6]
[linux-2.6-omap-h63xx.git] / fs / dlm / member.c
index 85e2897bd7400fc4155948fc8eb1c81cb1ff8e01..f08faec3d854a70a07a4a82e4efcabf9cbc57f20 100644 (file)
@@ -1,7 +1,7 @@
 /******************************************************************************
 *******************************************************************************
 **
-**  Copyright (C) 2005 Red Hat, Inc.  All rights reserved.
+**  Copyright (C) 2005-2007 Red Hat, Inc.  All rights reserved.
 **
 **  This copyrighted material is made available to anyone wishing to use,
 **  modify, copy, or redistribute it subject to the terms and conditions
@@ -284,6 +284,9 @@ int dlm_ls_stop(struct dlm_ls *ls)
        dlm_recoverd_suspend(ls);
        ls->ls_recover_status = 0;
        dlm_recoverd_resume(ls);
+
+       if (!ls->ls_recover_begin)
+               ls->ls_recover_begin = jiffies;
        return 0;
 }