ext4: don't assume extents can't cross block groups when truncating
authorTheodore Ts'o <tytso@mit.edu>
Sat, 2 Aug 2008 01:59:19 +0000 (21:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 2 Aug 2008 01:59:19 +0000 (21:59 -0400)
With the FLEX_BG layout, there is no reason why extents can't cross
block groups, so make the truncate code reserve enough credits so we
don't BUG if we come across such an extent.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c

Simple merge