From: Bob Peterson Date: Thu, 9 Aug 2012 17:48:46 +0000 (-0500) Subject: GFS2: Eliminate redundant calls to may_grant X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~108^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5dc76b9afcfb936818261d65f6f9e1f2c346d59;p=pandora-kernel.git GFS2: Eliminate redundant calls to may_grant Function add_to_queue was checking may_grant for the passed-in holder for every iteration of its gh2 loop. Now it only checks it once at the beginning to see if a try lock is futile. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed