Skip to content

Commit

Permalink
Update to zfs-core-sys 0.5.0 / current libzfs_core ABI (#151)
Browse files Browse the repository at this point in the history
* chore(deps): update to zfs-core-sys 0.5.0, fixing operation on current ZFS

Recent versions of ZFS have extra arguments for encryption keys in lzc_create.
zfs-core-sys was updated to match the ABI.

* chore(deps): update strum_macros to 0.22.0
  • Loading branch information
valpackett authored Oct 21, 2021
1 parent 89f6920 commit 649f858
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ pest_derive = "2.1"
quick-error = "1.2"
slog = "2"
slog-stdlog = "4"
zfs-core-sys= "0.1.0"
zfs-core-sys = "0.5.0"
cstr-argument = "0.1.1"
strum = "0.22.0"
strum_macros = "0.21.0"
strum_macros = "0.22.0"
chrono = "0.4.10"
bitflags = "1.2.1"
once_cell = "1.3.1"

[dependencies.libnv]
version = "0.2.2"
version = "0.2.3"
default-features = false
features = ["nvpair"]

Expand Down
2 changes: 2 additions & 0 deletions src/zfs/lzc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ impl ZfsEngine for ZfsLzc {
name_c_string.as_ref().as_ptr(),
request.kind().as_c_uint(),
props.as_ptr(),
std::ptr::null_mut(),
0,
)
};

Expand Down

0 comments on commit 649f858

Please sign in to comment.