From: Trond Myklebust Date: Sun, 21 Apr 2013 22:01:06 +0000 (-0400) Subject: LOCKD: Ensure that nlmclnt_block resets block->b_status after a server reboot X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~98^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dfd89af8697a299e7982ae740d4695ecd917eef;p=pandora-kernel.git LOCKD: Ensure that nlmclnt_block resets block->b_status after a server reboot After a server reboot, the reclaimer thread will recover all the existing locks. For locks that are blocked, however, it will change the value of block->b_status to nlm_lck_denied_grace_period in order to signal that they need to wake up and resend the original blocking lock request. Due to a bug, however, the block->b_status never gets reset after the blocked locks have been woken up, and so the process goes into an infinite loop of resends until the blocked lock is satisfied. Reported-by: Marc Eshel Signed-off-by: Trond Myklebust Cc: stable@vger.kernel.org --- Reading git-diff-tree failed