From 4cf6f10714109902504156c0e02ee97a11a32cc1 Mon Sep 17 00:00:00 2001 From: Allan Jude Date: Fri, 31 Jul 2020 12:01:41 -0400 Subject: [PATCH] pyzfs: Add missing entry to zfs_errno This was causing all later errno's to have the incorrect value. Reviewed-by: Brian Behlendorf Signed-off-by: Allan Jude Closes #10649 --- contrib/pyzfs/libzfs_core/_constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/pyzfs/libzfs_core/_constants.py b/contrib/pyzfs/libzfs_core/_constants.py index 50dca67f3a..367ffb63a9 100644 --- a/contrib/pyzfs/libzfs_core/_constants.py +++ b/contrib/pyzfs/libzfs_core/_constants.py @@ -95,6 +95,7 @@ zfs_errno = enum_with_offset(1024, [ 'ZFS_ERR_EXPORT_IN_PROGRESS', 'ZFS_ERR_BOOKMARK_SOURCE_NOT_ANCESTOR', 'ZFS_ERR_STREAM_TRUNCATED', + 'ZFS_ERR_STREAM_LARGE_BLOCK_MISMATCH', 'ZFS_ERR_RESILVER_IN_PROGRESS', 'ZFS_ERR_REBUILD_IN_PROGRESS', ],