]> git.proxmox.com Git - mirror_zfs.git/commit
Suppress cppcheck nullPointer error in zfs_write
authorGiuseppe Di Natale <dinatale2@users.noreply.github.com>
Fri, 10 Mar 2017 01:40:21 +0000 (17:40 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 10 Mar 2017 01:40:21 +0000 (17:40 -0800)
commit589bb918ef39058b1f06da72092e895835a7aaff
treebc5cdc05e6f334fef7b20e2d6ec53fcb9bd7c605
parentc3d043817305efebce89db5d9146e70807c4043b
Suppress cppcheck nullPointer error in zfs_write

Newer versions of cppcheck find the potential NULL pointer
bug in zfs_write(). The function is difficult to refactor without
extensive work, so suppress the potential NULL pointer error
which cannot occur for now.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #5882
Makefile.am
module/zfs/zfs_vnops.c