summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-12-24 12:41:52 +0100
committerChris Mason <chris.mason@oracle.com>2011-01-04 22:41:39 +0100
commit65e5341b9a0c39767ae1fecc727d70eda0dd6d83 (patch)
tree09f54177bfb8c93b2320d84317705bec6dcc42a6 /fs/btrfs/free-space-cache.c
parentBtrfs: prevent RAID level downgrades when space is low (diff)
downloadlinux-65e5341b9a0c39767ae1fecc727d70eda0dd6d83.tar.xz
linux-65e5341b9a0c39767ae1fecc727d70eda0dd6d83.zip
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>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions