]> granicus.if.org Git - zfs/commit
OpenZFS 6551 - cmd/zpool: cleanup gcc warnings
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 17 Jan 2017 22:42:56 +0000 (14:42 -0800)
committerGitHub <noreply@github.com>
Tue, 17 Jan 2017 22:42:56 +0000 (14:42 -0800)
commit8e896579562385b76fd44b7c86084f452043e7fd
tree236ed6070a3c034775c7d3586b878f4643db90ba
parent2dbf1bf8296f66f24d5e404505c991bfbeec7808
OpenZFS 6551 - cmd/zpool: cleanup gcc warnings

Porting Notes:
- Many of the fixes proposed by this patch were already applied.
In the cases where a different but equivalent fix was made the
code was updated with the OpenZFS version to minimize differences.
- The zpool_get_vdev_by_name() function was previously removed
by commit  235db0a.

Authored by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Haakan T Johansson <f96hajo@chalmers.se>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
OpenZFS-issue: https://www.illumos.org/issues/6551
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/b327cd3
Closes #5590
cmd/zpool/zpool_iter.c
cmd/zpool/zpool_main.c
cmd/zpool/zpool_vdev.c