aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/dmu_tx.c
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 /module/zfs/dmu_tx.c
parent3779913b35634d9d34ac9eb709203275b28050c2 (diff)
downloadsrc-f4bae2ed6361917660f5238cd35672ad18d7babc.tar.gz
src-f4bae2ed6361917660f5238cd35672ad18d7babc.zip
Diffstat (limited to 'module/zfs/dmu_tx.c')
-rw-r--r--module/zfs/dmu_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dmu_tx.c b/module/zfs/dmu_tx.c
index 3ee9468854d0..f0119963ced4 100644
--- a/module/zfs/dmu_tx.c
+++ b/module/zfs/dmu_tx.c
@@ -755,7 +755,7 @@ dmu_tx_hold_zap(dmu_tx_t *tx, uint64_t object, int add, const char *name)
* block. So there will be at most 2 blocks total,
* including the header block.
*/
- dmu_tx_count_write(txh, 0, 2 << fzap_default_block_shift);
+ dmu_tx_count_write(txh, 0, 2ULL << fzap_default_block_shift);
return;
}