freebsd-dev/cmd
cao 884385a0b2 Fix coverity defects
Fix coverity defects:
coverity scan CID:147623, Type: Resource leak.
coverity scan CID:147622, Type: Resource leak.
reason: zpool_open zhp, but not zpool_close zhp. so resource leak.

coverity scan CID:147621, Type: Resource fd leak.
coverity scan CID:147620, Type: Resource fd leak.
reason: do_write do_read open file fd,but exception not close fd.

delete unuse definition DMU_OS_IS_L2COMPRESSIBLE.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: cao.xuewen <cao.xuewen@zte.com.cn>
Closes #5137
2016-09-20 17:45:45 -07:00
..
arc_summary Update arc_summary.py for prefetch changes 2016-07-19 09:12:41 -07:00
arcstat Update arcstat.py to remove deprecated rmis reference. 2015-12-04 15:28:45 -08:00
dbufstat Make arc_summary.py and dbufstat.py compatible with python3 2016-01-07 17:09:59 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Change /etc/mtab to /proc/self/mounts 2016-09-20 10:07:58 -07:00
raidz_test Fixes and enhancements of SIMD raidz parity 2016-07-19 16:43:07 -07:00
vdev_id Add extra keyword 'slot' to vdev_id.conf 2015-08-30 10:03:56 -07:00
zdb OpenZFS 6950 - ARC should cache compressed data 2016-09-13 09:58:33 -07:00
zed Bring over illumos ZFS FMA logic -- phase 1 2016-09-01 11:39:45 -07:00
zfs Change /etc/mtab to /proc/self/mounts 2016-09-20 10:07:58 -07:00
zhack Fix zhack argument processing 2016-08-31 14:32:46 -07:00
zinject Fix coverity defects 2016-09-20 17:45:45 -07:00
zpios Fix minor spelling mistakes 2016-06-06 14:45:26 -07:00
zpool Fix coverity defects 2016-09-20 17:45:45 -07:00
zstreamdump DLPX-40252 integrate EP-476 compressed zfs send/receive 2016-09-13 09:58:58 -07:00
ztest OpenZFS 6950 - ARC should cache compressed data 2016-09-13 09:58:33 -07:00
zvol_id OpenZFS 6314 - buffer overflow in dsl_dataset_name 2016-06-28 13:47:03 -07:00
Makefile.am SIMD implementation of vdev_raidz generate and reconstruct routines 2016-06-21 09:27:26 -07:00