aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmrecovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/dlm/dlmrecovery.c')
-rw-r--r--fs/ocfs2/dlm/dlmrecovery.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c
index 0b5adca1b178..7035af09cc03 100644
--- a/fs/ocfs2/dlm/dlmrecovery.c
+++ b/fs/ocfs2/dlm/dlmrecovery.c
@@ -1886,6 +1886,13 @@ static int dlm_process_recovery_data(struct dlm_ctxt *dlm,
1886 if (ml->type == LKM_NLMODE) 1886 if (ml->type == LKM_NLMODE)
1887 goto skip_lvb; 1887 goto skip_lvb;
1888 1888
1889 /*
1890 * If the lock is in the blocked list it can't have a valid lvb,
1891 * so skip it
1892 */
1893 if (ml->list == DLM_BLOCKED_LIST)
1894 goto skip_lvb;
1895
1889 if (!dlm_lvb_is_empty(mres->lvb)) { 1896 if (!dlm_lvb_is_empty(mres->lvb)) {
1890 if (lksb->flags & DLM_LKSB_PUT_LVB) { 1897 if (lksb->flags & DLM_LKSB_PUT_LVB) {
1891 /* other node was trying to update 1898 /* other node was trying to update