]> err.no Git - linux-2.6/commit
[PATCH] ext3 balloc: fix _with_rsv freeze
authorHugh Dickins <hugh@veritas.com>
Thu, 7 Dec 2006 04:41:30 +0000 (20:41 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:48 +0000 (08:39 -0800)
commit7d1c520bb57e4b5e94ec937c13553dccf473341b
tree6e6ff8db13b6b8a3c122553bd5b1d43c7498ad77
parent2823b5535efad71e950ef50c2ce5f9e4dbaedc17
[PATCH] ext3 balloc: fix _with_rsv freeze

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

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/ext3/balloc.c