Fix check for s->history allocation NULL return.
b=11039
i=alex
+ return -EIO;
+ size = sizeof(struct ext3_mb_history) * sbi->s_mb_history_max;
+ s->history = kmalloc(size, GFP_KERNEL);
+ return -EIO;
+ size = sizeof(struct ext3_mb_history) * sbi->s_mb_history_max;
+ s->history = kmalloc(size, GFP_KERNEL);
++ if (s->history == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ kfree(s);
+ return -EIO;
+ }
+ return -EIO;
+ size = sizeof(struct ext3_mb_history) * sbi->s_mb_history_max;
+ s->history = kmalloc(size, GFP_KERNEL);
+ return -EIO;
+ size = sizeof(struct ext3_mb_history) * sbi->s_mb_history_max;
+ s->history = kmalloc(size, GFP_KERNEL);
++ if (s->history == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ kfree(s);
+ return -EIO;
+ }
+ return -EIO;
+ size = sizeof(struct ext3_mb_history) * sbi->s_mb_history_max;
+ s->history = kmalloc(size, GFP_KERNEL);
+ return -EIO;
+ size = sizeof(struct ext3_mb_history) * sbi->s_mb_history_max;
+ s->history = kmalloc(size, GFP_KERNEL);
++ if (s->history == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ kfree(s);
+ return -EIO;
+ }