]> git.proxmox.com Git - mirror_zfs.git/commit
import: ignore return on hostid lookups
authorRob N <robn@despairlabs.com>
Thu, 7 Dec 2023 16:41:54 +0000 (03:41 +1100)
committerGitHub <noreply@github.com>
Thu, 7 Dec 2023 16:41:54 +0000 (08:41 -0800)
commit450f2d0b08e73cfb057d0e301a813418b70d64b9
tree9048c35f77656a2d9218ceb5f5b0fb16172471ad
parentf0cb6482e1fe239c17f64cdb37f205e0e66ac4d4
import: ignore return on hostid lookups

Just silencing a warning. Its totally fine for a hostid to not be there.

Reported-by: Coverity (CID-1573336)
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #15650
cmd/zpool/zpool_main.c