Severity : normal
Bugzilla : 13454
-Description: Add jbd statistics patch for RHEL5 and 2.6.18-vanilla
+Description: Add jbd statistics patch for RHEL5 and 2.6.18-vanilla.
Severity : normal
Bugzilla : 11673
+ return -EIO;
+ size = sizeof(struct transaction_stats_s) * journal->j_history_max;
+ s->stats = kmalloc(size, GFP_KERNEL);
-+ if (s == NULL) {
++ if (s->stats == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ return -EIO;
+ size = sizeof(struct transaction_stats_s);
+ s->stats = kmalloc(size, GFP_KERNEL);
-+ if (s == NULL) {
++ if (s->stats == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ return -EIO;
+ size = sizeof(struct transaction_stats_s) * journal->j_history_max;
+ s->stats = kmalloc(size, GFP_KERNEL);
-+ if (s == NULL) {
++ if (s->stats == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ return -EIO;
+ size = sizeof(struct transaction_stats_s);
+ s->stats = kmalloc(size, GFP_KERNEL);
-+ if (s == NULL) {
++ if (s->stats == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ return -EIO;
+ size = sizeof(struct transaction_stats_s) * journal->j_history_max;
+ s->stats = kmalloc(size, GFP_KERNEL);
-+ if (s == NULL) {
++ if (s->stats == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ return -EIO;
+ size = sizeof(struct transaction_stats_s);
+ s->stats = kmalloc(size, GFP_KERNEL);
-+ if (s == NULL) {
++ if (s->stats == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ return -EIO;
+ size = sizeof(struct transaction_stats_s) * journal->j_history_max;
+ s->stats = kmalloc(size, GFP_KERNEL);
-+ if (s == NULL) {
++ if (s->stats == NULL) {
+ kfree(s);
+ return -EIO;
+ }
+ return -EIO;
+ size = sizeof(struct transaction_stats_s);
+ s->stats = kmalloc(size, GFP_KERNEL);
-+ if (s == NULL) {
++ if (s->stats == NULL) {
+ kfree(s);
+ return -EIO;
+ }