From: Bob Peterson Date: Wed, 12 Sep 2012 13:40:31 +0000 (-0400) Subject: GFS2: Fix infinite loop in rbm_find X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~108^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3701530aed9711fcfe9b29d3de0f7a27c8dbc8ae;p=pandora-kernel.git GFS2: Fix infinite loop in rbm_find This patch fixes an infinite loop in gfs2_rbm_find that was introduced by the previous patch. The problem occurred when the length was less than 3 but the rbm block was byte-aligned, causing it to improperly return a extent length of zero, which caused it to spin. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse Tested-by: Bob Peterson Tested-by: Barry Marson --- Reading git-diff-tree failed