]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add missing MMP status code to libzfs_status
authorbunder2015 <omfgbunder@gmail.com>
Thu, 3 Jan 2019 20:15:46 +0000 (15:15 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 3 Jan 2019 20:15:46 +0000 (12:15 -0800)
commit5365b0747a51edeef9c24213929eafb0444ccb78
treeeb74b4b1609d0139381a35004262a274c8f900cf
parent65ca2c1eb9af3c3fb2d221aabc2afa5db7b0f8cc
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 <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: bunder2015 <omfgbunder@gmail.com>
Closes #8148
Closes #8222
include/libzfs.h
lib/libzfs/libzfs_status.c
tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata3.ksh