ext4: add check for inodes_count overflow in new resize ioctl
authorTheodore Ts'o <tytso@mit.edu>
Mon, 22 Apr 2013 02:56:32 +0000 (22:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 22 Apr 2013 02:56:32 +0000 (22:56 -0400)
commit3f8a6411fbada1fa482276591e037f3b1adcf55b
tree1ed53f3cd7e298876f5d8c81c261528ebbe077de
parent7f3e3c7cfcec148ccca9c0dd2dbfd7b00b7ac10f
ext4: add check for inodes_count overflow in new resize ioctl

Addresses-Red-Hat-Bugzilla: #913245

Reported-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Cc: stable@vger.kernel.org
fs/ext4/resize.c