]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: ignore last group w/o enough space when resizing instead of BUG'ing
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Wed, 5 Sep 2012 05:21:50 +0000 (01:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:50:23 +0000 (05:50 +0900)
commit416a6881ec91623137652ab40e95870ee591e608
tree6c82029a14d4c59354c2322183ae0de48bebdbbb
parent69c212a724fd353e05aeb8dff788a71f68a6b1d8
ext4: ignore last group w/o enough space when resizing instead of BUG'ing

commit 03c1c29053f678234dbd51bf3d65f3b7529021de upstream.

If the last group does not have enough space for group tables, ignore
it instead of calling BUG_ON().

Reported-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/resize.c