]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/spa.c
Fix coverity defects
authorluozhengzheng <luo.zhengzheng@zte.com.cn>
Thu, 22 Sep 2016 01:09:00 +0000 (09:09 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 22 Sep 2016 01:09:00 +0000 (18:09 -0700)
commit160987b5762946a2d03fb608149fdc2224ec55d1
tree8af262b48ce7510cd20d09b89c0616b3efb2fed0
parent84347be0986fc0ba99ebb577357328c1e3f50a68
Fix coverity defects

coverity scan CID:147633,type: sizeof not portable
coverity scan CID:147637,type: sizeof not portable
coverity scan CID:147638,type: sizeof not portable
coverity scan CID:147640,type: sizeof not portable

In these particular cases sizeof (XX **) happens to be equal to sizeof (X *),
but this is not a portable assumption.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: luozhengzheng <luo.zhengzheng@zte.com.cn>
Closes #5144
module/zfs/spa.c
module/zfs/zfs_fuid.c
module/zfs/zfs_replay.c