]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ext4 balloc: fix _with_rsv freeze
authorHugh Dickins <hugh@veritas.com>
Thu, 7 Dec 2006 04:39:26 +0000 (20:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:43 +0000 (08:39 -0800)
commitec0837f230e57afde65db72539e748d2a75abed0
treec997afd235decff9f36b5cc4bfae5e132d86f656
parent341cee438593ff9c4520fb73c561460074f29a9a
[PATCH] ext4 balloc: fix _with_rsv freeze

Port fix to the off-by-one in find_next_usable_block's memscan from ext2 to
ext4; but it didn't cause a serious problem for ext4 because the additional
ext4_test_allocatable check rescued it from the error.

[akpm@osdl.org: build fix]
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