diff options
author | Matthew Ahrens <mahrens@delphix.com> | 2017-02-08 17:27:48 +0000 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2017-02-08 17:27:48 +0000 |
commit | 4a5d7f82679d848bcfb95d6c841f0418b24bfeab (patch) | |
tree | 05fc645e5ec3ddbdc7f9a8b71baa4e9c406cebbc /module/zfs/dsl_dataset.c | |
parent | 23d70cdef108005ecf4d862e0af01d08dabbc9c7 (diff) | |
download | src-4a5d7f82679d848bcfb95d6c841f0418b24bfeab.tar.gz src-4a5d7f82679d848bcfb95d6c841f0418b24bfeab.zip |
Diffstat (limited to 'module/zfs/dsl_dataset.c')
-rw-r--r-- | module/zfs/dsl_dataset.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/dsl_dataset.c b/module/zfs/dsl_dataset.c index 0665c12fc0c2..2ea64a2bba14 100644 --- a/module/zfs/dsl_dataset.c +++ b/module/zfs/dsl_dataset.c @@ -2956,7 +2956,6 @@ void dsl_dataset_clone_swap_sync_impl(dsl_dataset_t *clone, dsl_dataset_t *origin_head, dmu_tx_t *tx) { - spa_feature_t f; dsl_pool_t *dp = dmu_tx_pool(tx); int64_t unused_refres_delta; blkptr_t tmp; @@ -2974,7 +2973,7 @@ dsl_dataset_clone_swap_sync_impl(dsl_dataset_t *clone, /* * Swap per-dataset feature flags. */ - for (f = 0; f < SPA_FEATURES; f++) { + for (spa_feature_t f = 0; f < SPA_FEATURES; f++) { boolean_t clone_inuse; boolean_t origin_head_inuse; |