diff options
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/dlm/dlmrecovery.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c index cfb2ae9ab538..ad712211d4ea 100644 --- a/fs/ocfs2/dlm/dlmrecovery.c +++ b/fs/ocfs2/dlm/dlmrecovery.c | |||
@@ -2639,7 +2639,13 @@ retry: | |||
2639 | "begin reco msg (%d)\n", dlm->name, nodenum, ret); | 2639 | "begin reco msg (%d)\n", dlm->name, nodenum, ret); |
2640 | ret = 0; | 2640 | ret = 0; |
2641 | } | 2641 | } |
2642 | if (ret == -EAGAIN) { | 2642 | |
2643 | /* | ||
2644 | * Prior to commit aad1b15310b9bcd59fa81ab8f2b1513b59553ea8, | ||
2645 | * dlm_begin_reco_handler() returned EAGAIN and not -EAGAIN. | ||
2646 | * We are handling both for compatibility reasons. | ||
2647 | */ | ||
2648 | if (ret == -EAGAIN || ret == EAGAIN) { | ||
2643 | mlog(0, "%s: trying to start recovery of node " | 2649 | mlog(0, "%s: trying to start recovery of node " |
2644 | "%u, but node %u is waiting for last recovery " | 2650 | "%u, but node %u is waiting for last recovery " |
2645 | "to complete, backoff for a bit\n", dlm->name, | 2651 | "to complete, backoff for a bit\n", dlm->name, |