ext4: verify group number in verify_group_input() before using it
authorTheodore Ts'o <tytso@mit.edu>
Thu, 6 Jun 2013 15:14:31 +0000 (11:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Jun 2013 15:14:31 +0000 (11:14 -0400)
Check the group number for sanity earilier, before calling routines
such as ext4_bg_has_super() or ext4_group_overhead_blocks().

Reported-by: Jonathan Salwan <jonathan.salwan@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c

Simple merge