diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2008-04-30 04:01:15 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-04-30 04:01:15 +0200 |
commit | f1fa3342e271029f93d323ca664809b94594fe04 (patch) | |
tree | a157efee03b64049dda19f4292961e085949cc81 /fs/binfmt_aout.c | |
parent | ext4: fix test ext_generic_write_end() copied return value (diff) | |
download | linux-f1fa3342e271029f93d323ca664809b94594fe04.tar.xz linux-f1fa3342e271029f93d323ca664809b94594fe04.zip |
ext4: fix hot spins in mballoc after err_freebuddy and err_freemeta
In ext4_mb_init_backend() 'i' is of type ext4_group_t. Since unsigned, i
>= 0 is always true, so fix hot spins after err_freebuddy: and -meta:
and prevent decrements when zero.
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/binfmt_aout.c')
0 files changed, 0 insertions, 0 deletions