diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 08:41:41 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 13:07:53 -0400 |
| commit | 816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch) | |
| tree | 421fa29aedff988e392f92780637553e275d37a0 /drivers/md | |
| parent | 70ac4385a13f78bc478f26d317511893741b05bd (diff) | |
| parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
fs/nfs/inode.c
fs/super.c
Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch
'VFS: Permit filesystem to override root dentry on mount'
Diffstat (limited to 'drivers/md')
| -rw-r--r-- | drivers/md/raid6algos.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/md/raid6algos.c b/drivers/md/raid6algos.c index 51c63c0cf1c9..926576156578 100644 --- a/drivers/md/raid6algos.c +++ b/drivers/md/raid6algos.c | |||
| @@ -139,15 +139,14 @@ int __init raid6_select_algo(void) | |||
| 139 | } | 139 | } |
| 140 | } | 140 | } |
| 141 | 141 | ||
| 142 | if ( best ) | 142 | if (best) { |
| 143 | printk("raid6: using algorithm %s (%ld MB/s)\n", | 143 | printk("raid6: using algorithm %s (%ld MB/s)\n", |
| 144 | best->name, | 144 | best->name, |
| 145 | (bestperf*HZ) >> (20-16+RAID6_TIME_JIFFIES_LG2)); | 145 | (bestperf*HZ) >> (20-16+RAID6_TIME_JIFFIES_LG2)); |
| 146 | else | 146 | raid6_call = *best; |
| 147 | } else | ||
| 147 | printk("raid6: Yikes! No algorithm found!\n"); | 148 | printk("raid6: Yikes! No algorithm found!\n"); |
| 148 | 149 | ||
| 149 | raid6_call = *best; | ||
| 150 | |||
| 151 | free_pages((unsigned long)syndromes, 1); | 150 | free_pages((unsigned long)syndromes, 1); |
| 152 | 151 | ||
| 153 | return best ? 0 : -EINVAL; | 152 | return best ? 0 : -EINVAL; |
