commit | 63b4cbb8bc8602d5dfe80413005142a7b59c25ef | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Tue Dec 02 22:00:04 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Dec 02 22:14:34 2014 -0500 |
tree | 9f8316dccc04599017153fb77977fbcc8ce4c89b | |
parent | 5da8912008bbcfcaef3c8109831fdb4af40cd4fd [diff] |
misc: fix infinite loop when finding the start of the hugefile start range When looking for the start of the hugefile range, the 'next' variable is incorrectly decremented. If we happened to find a single free block, the effect of this decrement is that blk == next, which means that we never modify the loop control variable, so get_start_block never returns. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>