Skip to content
Snippets Groups Projects
Commit 3f13a1a8 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch b1_6

Use tabs instead of spaces in kernel patches.
parent 517b8c46
No related branches found
No related tags found
No related merge requests found
...@@ -2389,8 +2389,8 @@ Index: linux-2.6.9-full/fs/ext3/mballoc.c ...@@ -2389,8 +2389,8 @@ Index: linux-2.6.9-full/fs/ext3/mballoc.c
+ spin_lock_init(&sbi->s_mb_history_lock); + spin_lock_init(&sbi->s_mb_history_lock);
+ i = sbi->s_mb_history_max * sizeof(struct ext3_mb_history); + i = sbi->s_mb_history_max * sizeof(struct ext3_mb_history);
+ sbi->s_mb_history = kmalloc(i, GFP_KERNEL); + sbi->s_mb_history = kmalloc(i, GFP_KERNEL);
+ if (likely(sbi->s_mb_history != NULL)) + if (likely(sbi->s_mb_history != NULL))
+ memset(sbi->s_mb_history, 0, i); + memset(sbi->s_mb_history, 0, i);
+ /* if we can't allocate history, then we simple won't use it */ + /* if we can't allocate history, then we simple won't use it */
+} +}
+ +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment