From b898879586c983bb10663465d75ee86775c13893 Mon Sep 17 00:00:00 2001 From: Umer Saleem Date: Thu, 31 Oct 2024 16:46:58 +0500 Subject: [PATCH] Add missing error code from libzfs 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 --- pxd/libzfs.pxd | 1 + 1 file changed, 1 insertion(+) diff --git a/pxd/libzfs.pxd b/pxd/libzfs.pxd index 6afa275..98a5017 100644 --- a/pxd/libzfs.pxd +++ b/pxd/libzfs.pxd @@ -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: