From 04ce238f6758404bc27f974980762f640f9febd8 Mon Sep 17 00:00:00 2001 From: Hugh Dickins Date: Wed, 6 Dec 2006 20:39:20 -0800 Subject: [PATCH] --- yaml --- r: 42911 b: refs/heads/master c: b2f2c76d17b68869914a1ec3ab04c7674668f60d h: refs/heads/master i: 42909: 3a3f2071c6c4416064a4a7dbe969978e908abb04 42907: e9da93e81a9894699afe535c0eb848e2a5c41e79 42903: 188955ea1f7a8a1b5b4e9d7084a3fbfd4820d2a3 42895: 2456ba3dd7c9d63d8a6a62bdf154149178eeaa56 42879: 4862dfc739285f072f5aa8f2f240cbde93db4654 v: v3 --- [refs] | 2 +- trunk/fs/ext4/balloc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7f57e378e804..f35d79985d4e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e7dc95db2695dc92b223cdc49227ac57e63406d2 +refs/heads/master: b2f2c76d17b68869914a1ec3ab04c7674668f60d diff --git a/trunk/fs/ext4/balloc.c b/trunk/fs/ext4/balloc.c index 2bcca5261eeb..c5589b3f58e8 100644 --- a/trunk/fs/ext4/balloc.c +++ b/trunk/fs/ext4/balloc.c @@ -1165,7 +1165,7 @@ static int alloc_new_reservation(struct ext4_reserve_window_node *my_rsv, * check if the first free block is within the * 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 */ /* * if the first free bit we found is out of the reservable space