diff options
author | luozhengzheng <[email protected]> | 2016-10-03 02:24:54 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-10-02 11:24:54 -0700 |
commit | aecdc70604df56d010f99f3ba1c0780d242ac357 (patch) | |
tree | aa73b22fdd39e18b5a930ec3302582e0d63f4802 /module/zfs/zfs_znode.c | |
parent | 0ca5261be44abd9f6587792df1dc0c8ff73d2f7c (diff) |
Fix coverity defects: CID 147448, 147449, 147450, 147453, 147454
coverity scan CID:147448,type: unchecked return value
coverity scan CID:147449,type: unchecked return value
coverity scan CID:147450,type: unchecked return value
coverity scan CID:147453,type: unchecked return value
coverity scan CID:147454,type: unchecked return value
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: luozhengzheng <[email protected]>
Closes #5206
Diffstat (limited to 'module/zfs/zfs_znode.c')
-rw-r--r-- | module/zfs/zfs_znode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_znode.c b/module/zfs/zfs_znode.c index 12dada4fc..647ce48dc 100644 --- a/module/zfs/zfs_znode.c +++ b/module/zfs/zfs_znode.c @@ -456,7 +456,7 @@ zfs_inode_set_ops(zfs_sb_t *zsb, struct inode *ip) */ case S_IFCHR: case S_IFBLK: - sa_lookup(ITOZ(ip)->z_sa_hdl, SA_ZPL_RDEV(zsb), &rdev, + (void) sa_lookup(ITOZ(ip)->z_sa_hdl, SA_ZPL_RDEV(zsb), &rdev, sizeof (rdev)); /*FALLTHROUGH*/ case S_IFIFO: |