]> 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)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 5 Sep 2012 05:21:50 +0000 (01:21 -0400)
commit03c1c29053f678234dbd51bf3d65f3b7529021de
tree7f46e690871d24c4bc28911685ea2662d66688e5
parent8a2f8460e816f4786939a0cefbda35af6bd1a1c5
ext4: ignore last group w/o enough space when resizing instead of BUG'ing

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>
Cc: stable@vger.kernel.org
fs/ext4/resize.c