From: Trond Myklebust Date: Tue, 19 Feb 2013 17:04:42 +0000 (-0500) Subject: NLM: Ensure that we resend all pending blocking locks after a reclaim X-Git-Tag: v3.2.40~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0bb151f11915056a9457bc9234de5c0fe9c4d2c;p=pandora-kernel.git NLM: Ensure that we resend all pending blocking locks after a reclaim commit 666b3d803a511fbc9bc5e5ea8ce66010cf03ea13 upstream. Currently, nlmclnt_lock will break out of the for(;;) loop when the reclaimer wakes up the blocking lock thread by setting nlm_lck_denied_grace_period. This causes the lock request to fail with an ENOLCK error. The intention was always to ensure that we resend the lock request after the grace period has expired. Reported-by: Wangyuan Zhang Signed-off-by: Trond Myklebust Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed