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]>
(cherry picked from commit b898879)
(cherry picked from commit 82ac0c7)
  • Loading branch information
usaleem-ix authored and bugclerk committed Oct 31, 2024
1 parent 8898f35 commit 2facf47
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 2facf47

Please sign in to comment.