Whamcloud - gitweb
LU-206 Memory corruption due to MMP (1.8.5)
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext4-mmp-rhel6.patch
index ef49bbd..f5fe952 100644 (file)
@@ -344,7 +344,7 @@ Index: linux-stage/fs/ext4/super.c
 +              goto failed;
 +      }
 +
-+      mmpd_data = kmalloc(sizeof(struct mmpd_data *), GFP_KERNEL);
++      mmpd_data = kmalloc(sizeof(struct mmpd_data), GFP_KERNEL);
 +      if (!mmpd_data) {
 +              ext4_warning(sb, "not enough memory for mmpd_data");
 +              goto failed;