diff options
-rw-r--r-- | fs/ocfs2/dlm/dlmrecovery.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c index f94550218152..0b5adca1b178 100644 --- a/fs/ocfs2/dlm/dlmrecovery.c +++ b/fs/ocfs2/dlm/dlmrecovery.c | |||
@@ -2331,6 +2331,14 @@ static void dlm_do_local_recovery_cleanup(struct dlm_ctxt *dlm, u8 dead_node) | |||
2331 | } else if (res->owner == dlm->node_num) { | 2331 | } else if (res->owner == dlm->node_num) { |
2332 | dlm_free_dead_locks(dlm, res, dead_node); | 2332 | dlm_free_dead_locks(dlm, res, dead_node); |
2333 | __dlm_lockres_calc_usage(dlm, res); | 2333 | __dlm_lockres_calc_usage(dlm, res); |
2334 | } else if (res->owner == DLM_LOCK_RES_OWNER_UNKNOWN) { | ||
2335 | if (test_bit(dead_node, res->refmap)) { | ||
2336 | mlog(0, "%s:%.*s: dead node %u had a ref, but had " | ||
2337 | "no locks and had not purged before dying\n", | ||
2338 | dlm->name, res->lockname.len, | ||
2339 | res->lockname.name, dead_node); | ||
2340 | dlm_lockres_clear_refmap_bit(dlm, res, dead_node); | ||
2341 | } | ||
2334 | } | 2342 | } |
2335 | spin_unlock(&res->spinlock); | 2343 | spin_unlock(&res->spinlock); |
2336 | } | 2344 | } |