ext4: Initialize the new group descriptor when resizing the filesystem
authorTheodore Ts'o <tytso@mit.edu>
Tue, 17 Feb 2009 15:32:42 +0000 (10:32 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 20 Feb 2009 22:40:29 +0000 (14:40 -0800)
commite1383159cfdf94fbf4cbeb8a8d254117005aac40
treec6a4dcfea317638416847a1dc4b5268e55309da1
parented2839287c44c51f7506387302bffdfda07bf0ef
ext4: Initialize the new group descriptor when resizing the filesystem

(cherry picked from commit fdff73f094e7220602cc3f8959c7230517976412)

Make sure all of the fields of the group descriptor are properly
initialized.  Previously, we allowed bg_flags field to be contain
random garbage, which could trigger non-deterministic behavior,
including a kernel OOPS.

http://bugzilla.kernel.org/show_bug.cgi?id=12433

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/resize.c