diff options
| author | 2009-09-11 16:51:28 -0400 | |
|---|---|---|
| committer | 2009-09-11 16:51:28 -0400 | |
| commit | 7ad9bb651fc2036ea94bed94da76a4b08959a911 (patch) | |
| tree | 2669266f02c35b1b24d13d0adc4b3ac5afbdf7fd /scripts/patch-kernel | |
| parent | ext4: Always set dx_node's fake_dirent explicitly. (diff) | |
ext4: Fix initalization of s_flex_groups
The s_flex_groups array should have been initialized using atomic_add
to sum up the free counts from the block groups that make up a
flex_bg. By using atomic_set, the value of the s_flex_groups array
was set to the values of the last block group in the flex_bg.
The impact of this bug is that the block and inode allocation
algorithms might not pick the best flex_bg for new allocation.
Thanks to Damien Guibouret for pointing out this problem!
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
