OSDN Git Service

ext4_utils: fix off-by-one error when free blocks
authorJin Qian <jinqian@google.com>
Fri, 8 Sep 2017 00:09:45 +0000 (17:09 -0700)
committerJin Qian <jinqian@google.com>
Mon, 11 Sep 2017 16:52:41 +0000 (09:52 -0700)
commita4ed4e10e98b0efa4e259c99e84609bebb08cd66
tree2fe27e65026a678498384505c8b1d7a45d7dcff3
parent624016803046ad8ac1cbeb343392df87cc494949
ext4_utils: fix off-by-one error when free blocks

block points at one block before the region we wanted to free after
the loop that updats bitmap. This causes the code to free chunk still
being used.

Bug: 35262536
Change-Id: I7ebb30f4c7bcd01d3213ae0804a026a5ad98072c
ext4_utils/allocate.c