From: Chris Mason Date: Fri, 24 Dec 2010 11:41:52 +0000 (-0500) Subject: Btrfs: fix off by one while setting block groups readonly X-Git-Tag: v2.6.38-rc1~14^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65e5341b9a0c39767ae1fecc727d70eda0dd6d83;p=pandora-kernel.git Btrfs: fix off by one while setting block groups readonly When we read in block groups, we'll set non-redundant groups readonly if we find a raid1, DUP or raid10 group. But the ro code has an off by one bug in the math around testing to make sure out accounting doesn't go wrong. Signed-off-by: Chris Mason --- Reading git-diff-tree failed