aboutsummaryrefslogtreecommitdiffstats
path: root/include/libzfs.h
diff options
context:
space:
mode:
authorbunder2015 <[email protected]>2019-01-03 15:15:46 -0500
committerBrian Behlendorf <[email protected]>2019-01-03 12:15:46 -0800
commit5365b0747a51edeef9c24213929eafb0444ccb78 (patch)
treeeb74b4b1609d0139381a35004262a274c8f900cf /include/libzfs.h
parent65ca2c1eb9af3c3fb2d221aabc2afa5db7b0f8cc (diff)
Add missing MMP status code to libzfs_status
When MMP was merged the status codes in libzfs_status were not updated to add the status code for ZPOOL_STATUS_IO_FAILURE_MMP. This commit corrects this and adds comments to help keep track of which code is used for which status. Reviewed-by: Olaf Faaland <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: bunder2015 <[email protected]> Closes #8148 Closes #8222
Diffstat (limited to 'include/libzfs.h')
-rw-r--r--include/libzfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libzfs.h b/include/libzfs.h
index 762d57bef..c764e92dd 100644
--- a/include/libzfs.h
+++ b/include/libzfs.h
@@ -303,6 +303,8 @@ typedef enum {
/*
* The following correspond to faults as defined in the (fault.fs.zfs.*)
* event namespace. Each is associated with a corresponding message ID.
+ * This must be kept in sync with the zfs_msgid_table in
+ * lib/libzfs/libzfs_status.c.
*/
ZPOOL_STATUS_CORRUPT_CACHE, /* corrupt /kernel/drv/zpool.cache */
ZPOOL_STATUS_MISSING_DEV_R, /* missing device with replicas */