diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-05-12 12:32:07 +0100 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-05-12 12:32:07 +0100 |
commit | 77b19ed5f259bc62680acf2b1a3454baa2472bc5 (patch) | |
tree | 7441d8d057c09e54c8ea23c984f2ccdf22c98649 /mdmon.h | |
parent | ca114f3c76374493f0fd64f8ea0a9b96ae9b1dc5 (diff) |
New upstream release.
Diffstat (limited to 'mdmon.h')
-rw-r--r-- | mdmon.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ static inline int is_resync_complete(struct mdinfo *array) break; case 10: l = array->array.layout; - ncopies = (l & 0xff) * ((l >> 8) && 0xff); + ncopies = (l & 0xff) * ((l >> 8) & 0xff); sync_size = array->component_size * array->array.raid_disks; sync_size /= ncopies; break; |