Fix potential NULL pointer dereference in zfsdle_vdev_online()
commitde6c0d3d8cb279e0dd6a4831d85a9c45047908ba
authorRichard Yao <richard.yao@alumni.stonybrook.edu>
Tue, 20 Sep 2022 22:20:04 +0000 (20 18:20 -0400)
committerGitHub <noreply@github.com>
Tue, 20 Sep 2022 22:20:04 +0000 (20 15:20 -0700)
tree0aa9301bad98aaeccb100f18222cd49ec1fed283
parentc50b3f14d33cd469af47e16f0c6c76f2b4b5158e
Fix potential NULL pointer dereference in zfsdle_vdev_online()

Coverity complained about this.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chunwei Chen <david.chen@nutanix.com>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #13903
cmd/zed/agents/zfs_mod.c