ext4: add check for inodes_count overflow in new resize ioctl
commit5d96a5f6c32bc97f2f2ff8e614de09ce6e2431c0
authorTheodore Ts'o <tytso@mit.edu>
Mon, 22 Apr 2013 02:56:32 +0000 (21 22:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 May 2013 20:48:09 +0000 (11 13:48 -0700)
treeec4e257aa6babbcdd420a683167c03d3b20b2151
parent4cd9d968a1e09ea2dc765bca9184b8a7aaafb435
ext4: add check for inodes_count overflow in new resize ioctl

commit 3f8a6411fbada1fa482276591e037f3b1adcf55b upstream.

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>
Signed-off-by: Lingzhu Xiang <lxiang@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/resize.c