commit | 9f0ccfd8e07d61b413e6536ffa02fbf60d2e20d8 | [log] [tgz] |
---|---|---|
author | Mingming Cao <cmm@us.ibm.com> | Mon Sep 28 15:49:52 2009 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Sep 28 15:49:52 2009 -0400 |
tree | b90ea9f8dc2542d029b15d94a0588b36937dbbab | |
parent | 55138e0bc29c0751e2152df9ad35deea542f29b3 [diff] |
ext4: release reserved quota when block reservation for delalloc retry ext4_da_reserve_space() can reserve quota blocks multiple times if ext4_claim_free_blocks() fail and we retry the allocation. We should release the quota reservation before restarting. Bug found by Jan Kara. Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>