Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29079
b: refs/heads/master
c: a5d6839
h: refs/heads/master
i:
  29077: 2395c81
  29075: 4b34a74
  29071: ce604ec
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jun 23, 2006
1 parent 45e2041 commit 0e8517d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 226a6b84aaaf1fac7a5d41cf4e7387fd9ba895d5
refs/heads/master: a5d6839b75ca4a29b5e0a5595914a8715e8f746d
7 changes: 3 additions & 4 deletions trunk/drivers/md/raid6algos.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,14 @@ int __init raid6_select_algo(void)
}
}

if ( best )
if (best) {
printk("raid6: using algorithm %s (%ld MB/s)\n",
best->name,
(bestperf*HZ) >> (20-16+RAID6_TIME_JIFFIES_LG2));
else
raid6_call = *best;
} else
printk("raid6: Yikes! No algorithm found!\n");

raid6_call = *best;

free_pages((unsigned long)syndromes, 1);

return best ? 0 : -EINVAL;
Expand Down

0 comments on commit 0e8517d

Please sign in to comment.