From: Wendy Cheng Date: Fri, 5 Oct 2007 04:27:58 +0000 (-0400) Subject: [GFS2] Handle multiple glock demote requests X-Git-Tag: v2.6.25-rc1~1241^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc7e79b168a552152299bd8a8254dc099aacc993;p=pandora-kernel.git [GFS2] Handle multiple glock demote requests Fix a race condition where multiple glock demote requests are sent to a node back-to-back. This patch does a check inside handle_callback() to see whether a demote request is in progress. If true, it sets a flag to make sure run_queue() will loop again to handle the new request, instead of erronously setting gl_demote_state to a different state. Signed-off-by: S. Wendy Cheng Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed