]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ext4 balloc: fix off-by-one against rsv_end
authorHugh Dickins <hugh@veritas.com>
Thu, 7 Dec 2006 04:39:20 +0000 (20:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:42 +0000 (08:39 -0800)
commitb2f2c76d17b68869914a1ec3ab04c7674668f60d
treea250b8256c2ffb01fbe705a623bb6744010191ae
parente7dc95db2695dc92b223cdc49227ac57e63406d2
[PATCH] ext4 balloc: fix off-by-one against rsv_end

rsv_end is the last block within the reservation, so alloc_new_reservation
should accept start_block == rsv_end as success.

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext4/balloc.c