|
@@ -1165,7 +1165,7 @@ retry:
|
|
* check if the first free block is within the
|
|
* check if the first free block is within the
|
|
* free space we just reserved
|
|
* free space we just reserved
|
|
*/
|
|
*/
|
|
- if (start_block >= my_rsv->rsv_start && start_block < my_rsv->rsv_end)
|
|
|
|
|
|
+ if (start_block >= my_rsv->rsv_start && start_block <= my_rsv->rsv_end)
|
|
return 0; /* success */
|
|
return 0; /* success */
|
|
/*
|
|
/*
|
|
* if the first free bit we found is out of the reservable space
|
|
* if the first free bit we found is out of the reservable space
|