commit | 65e5341b9a0c39767ae1fecc727d70eda0dd6d83 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Fri Dec 24 06:41:52 2010 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Tue Jan 04 16:41:39 2011 -0500 |
tree | 09f54177bfb8c93b2320d84317705bec6dcc42a6 | |
parent | 83a50de97fe96aca82389e061862ed760ece2283 [diff] |
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 <chris.mason@oracle.com>