diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2011-08-05 09:32:35 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-08-16 21:09:31 -0400 |
commit | bb3ac5a4dfc8eeb881206c77d9f925e320d9c41a (patch) | |
tree | ae5cb912cdc3a36a0aa7d43a554658821e0a6161 /Kconfig | |
parent | f4ac904c411b55e58bb240f332f93db2455f0010 (diff) | |
download | linux-stable-bb3ac5a4dfc8eeb881206c77d9f925e320d9c41a.tar.gz linux-stable-bb3ac5a4dfc8eeb881206c77d9f925e320d9c41a.tar.bz2 linux-stable-bb3ac5a4dfc8eeb881206c77d9f925e320d9c41a.zip |
Btrfs: fix wrong free space information
Btrfs subtracted the size of the allocated space twice when it allocated
the space from the bitmap in the cluster, it broke the free space information
and led to oops finally.
And this patch also fixes the bug that ctl->free_space was subtracted
without lock.
Reported-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions