aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcao <cao.xuewen@zte.com.cn>2016-11-07 22:54:32 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2016-11-07 22:54:32 +0000
commitf4bae2ed6361917660f5238cd35672ad18d7babc (patch)
treed6daaaee06823c7da02ed3ed066dc6e4bfbffb71 /lib
parent3779913b35634d9d34ac9eb709203275b28050c2 (diff)
downloadsrc-f4bae2ed6361917660f5238cd35672ad18d7babc.tar.gz
src-f4bae2ed6361917660f5238cd35672ad18d7babc.zip
Diffstat (limited to 'lib')
-rw-r--r--lib/libzfs/libzfs_sendrecv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzfs/libzfs_sendrecv.c b/lib/libzfs/libzfs_sendrecv.c
index 21d67e74d391..8926d11735a5 100644
--- a/lib/libzfs/libzfs_sendrecv.c
+++ b/lib/libzfs/libzfs_sendrecv.c
@@ -259,7 +259,7 @@ cksummer(void *arg)
* a power of 2 if necessary.
*/
if (!ISP2(numbuckets))
- numbuckets = 1 << high_order_bit(numbuckets);
+ numbuckets = 1ULL << high_order_bit(numbuckets);
ddt.dedup_hash_array = calloc(numbuckets, sizeof (dedup_entry_t *));
ddt.ddecache = umem_cache_create("dde", sizeof (dedup_entry_t), 0,