diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libzfs_core.h | 1 | ||||
-rw-r--r-- | include/sys/dsl_dataset.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/libzfs_core.h b/include/libzfs_core.h index cf7ea3837..b4f61151c 100644 --- a/include/libzfs_core.h +++ b/include/libzfs_core.h @@ -91,6 +91,7 @@ int lzc_receive_with_cmdprops(const char *, nvlist_t *, nvlist_t *, boolean_t lzc_exists(const char *); int lzc_rollback(const char *, char *, int); +int lzc_rollback_to(const char *, const char *); int lzc_sync(const char *, nvlist_t *, nvlist_t **); diff --git a/include/sys/dsl_dataset.h b/include/sys/dsl_dataset.h index f6499a760..50c1e9337 100644 --- a/include/sys/dsl_dataset.h +++ b/include/sys/dsl_dataset.h @@ -340,7 +340,8 @@ void dsl_dataset_set_refreservation_sync_impl(dsl_dataset_t *ds, void dsl_dataset_zapify(dsl_dataset_t *ds, dmu_tx_t *tx); boolean_t dsl_dataset_is_zapified(dsl_dataset_t *ds); boolean_t dsl_dataset_has_resume_receive_state(dsl_dataset_t *ds); -int dsl_dataset_rollback(const char *fsname, void *owner, nvlist_t *result); +int dsl_dataset_rollback(const char *fsname, const char *tosnap, void *owner, + nvlist_t *result); void dsl_dataset_deactivate_feature(uint64_t dsobj, spa_feature_t f, dmu_tx_t *tx); |