Skip to content

Commit

Permalink
OS-2358 zfs should not allow snapshot of inconsistent dataset (fix bo…
Browse files Browse the repository at this point in the history
…gon)
  • Loading branch information
Keith M Wesolowski committed Jul 6, 2013
1 parent 0fe6062 commit 74eb31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/uts/common/fs/zfs/dsl_dataset.c
Expand Up @@ -1027,7 +1027,7 @@ dsl_dataset_snapshot_check(void *arg, dmu_tx_t *tx)
error = dsl_dataset_hold(dp, dsname, FTAG, &ds);
if (error == 0) {
error = dsl_dataset_snapshot_check_impl(ds,
atp + 2, tx, B_FALSE);
atp + 1, tx, B_FALSE);
dsl_dataset_rele(ds, FTAG);
}

Expand Down

0 comments on commit 74eb31f

Please sign in to comment.