Skip to content

Commit

Permalink
Add missing error code from libzfs
Browse files Browse the repository at this point in the history
EZFS_ASHIFT_MISMATCH added to libzfs.h, but since it was not present
in py-libzfs, the error codes were out of sync. This commit fixes
this.

Signed-off-by: Umer Saleem <[email protected]>
  • Loading branch information
usaleem-ix committed Oct 31, 2024
1 parent cf04e20 commit b898879
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pxd/libzfs.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ cdef extern from "libzfs.h" nogil:
EZFS_RESUME_EXISTS
EZFS_SHAREFAILED
EZFS_RAIDZ_EXPAND_IN_PROGRESS
EZFS_ASHIFT_MISMATCH
EZFS_UNKNOWN

IF HAVE_ZFS_ENCRYPTION:
Expand Down

0 comments on commit b898879

Please sign in to comment.