summaryrefslogtreecommitdiffstats
path: root/module/zfs/dsl_dataset.c
diff options
context:
space:
mode:
authorluozhengzheng <[email protected]>2016-12-09 05:48:09 +0800
committerBrian Behlendorf <[email protected]>2016-12-08 14:48:09 -0700
commitc077090a9b11d42c0734f0741ca08d0c9b6b37b0 (patch)
tree4a26fe274cff85f60167f8fd803f312f6e1ca883 /module/zfs/dsl_dataset.c
parentf95e64789157c2fa373cb424f2b5713be4c8a639 (diff)
Fix coverity defects: CID 154617
CID 154617: Memory - illegal accesses (UNINIT) The value here just needs to be initialized to make Coverity happy. When dsize == 0, then value of daiter.iter_mapaddr is irrelevant. That address won't be accessed, it's only used for some arithmetic. dsize can be zero either if dabd is null, or if code column is longer than the current data column. Reviewed-by: Gvozden Neskovic <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: luozhengzheng <[email protected]> Closes #5437
Diffstat (limited to 'module/zfs/dsl_dataset.c')
0 files changed, 0 insertions, 0 deletions