summaryrefslogtreecommitdiffstats
path: root/fs/jbd2
diff options
context:
space:
mode:
authorTheodore Ts'o2009-07-13 15:45:52 +0200
committerTheodore Ts'o2009-07-13 15:45:52 +0200
commit833576b362e15c38be3bfe43942cda693e56287c (patch)
tree5a221bd167ae7f1b0575fd24fbc5e4cdae18a598 /fs/jbd2
parentext4: fix null handler of ioctls in no journal mode (diff)
downloadkernel-qcow2-linux-833576b362e15c38be3bfe43942cda693e56287c.tar.gz
kernel-qcow2-linux-833576b362e15c38be3bfe43942cda693e56287c.tar.xz
kernel-qcow2-linux-833576b362e15c38be3bfe43942cda693e56287c.zip
ext4: Fix ext4_mb_initialize_context() to initialize all fields
Pavel Roskin pointed out that kmemcheck indicated that ext4_mb_store_history() was accessing uninitialized values of ac->ac_tail and ac->ac_buddy leading to garbage in the mballoc history. Fix this by initializing the entire structure to all zeros first. Also, two fields were getting doubly initialized by the caller of ext4_mb_initialize_context, so remove them for efficiency's sake. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions