| Submitter | Luis Henriques |
|---|---|
| Date | Feb. 28, 2013, 2:43 p.m. |
| Message ID | <1362062689-2567-67-git-send-email-luis.henriques@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/224041/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/fs/lockd/clntproc.c b/fs/lockd/clntproc.c index 8392cb8..a3a0987 100644 --- a/fs/lockd/clntproc.c +++ b/fs/lockd/clntproc.c @@ -551,6 +551,9 @@ again: status = nlmclnt_block(block, req, NLMCLNT_POLL_TIMEOUT); if (status < 0) break; + /* Resend the blocking lock request after a server reboot */ + if (resp->status == nlm_lck_denied_grace_period) + continue; if (resp->status != nlm_lck_blocked) break; }