summaryrefslogtreecommitdiff
path: root/include/trace/events/jbd2.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2011-03-22 01:25:13 (GMT)
committerTheodore Ts'o <tytso@mit.edu>2011-03-22 01:25:13 (GMT)
commit4596fe07679ff0fae904515691ea747467614871 (patch)
treee15520e06d5c72702dc84e4eda4179ee9dc5c294 /include/trace/events/jbd2.h
parent21149d611ecd0faf60f4ef94aa2bf8ed872f92bf (diff)
downloadlinux-fsl-qoriq-4596fe07679ff0fae904515691ea747467614871.tar.xz
ext4: don't kfree uninitialized s_group_info members
We can call kfree on uninitialized members of the s_group_info array on an the error path. We can avoid this by kzalloc'ing the array. This doesn't entirely solve the oops on mount if we fail down this path; failed_mount4: frees the sbi, for one, which gets referenced later in the failed mount paths - I haven't worked that out yet. https://bugzilla.kernel.org/show_bug.cgi?id=30872 Reported-by: Eugene A. Shatokhin <dame_eugene@mail.ru> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/trace/events/jbd2.h')
0 files changed, 0 insertions, 0 deletions