Commit b9c88d40 authored by Trond Myklebust's avatar Trond Myklebust

NFSv2/v3 locking: Patch by Patrice Dumas that adds a check to ensure we really

    were requesting a blocking lock when we get a reply from the server asking us to
    block.
parent f89041f2
......@@ -443,7 +443,7 @@ nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl)
}
if (status < 0)
return status;
} while (resp->status == NLM_LCK_BLOCKED);
} while (resp->status == NLM_LCK_BLOCKED && req->a_args.block);
if (resp->status == NLM_LCK_GRANTED) {
fl->fl_u.nfs_fl.state = host->h_state;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment