HomeFreeBSD

Suppress cppcheck nullPointer error in zfs_write

Description

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

Details

Provenance
Giuseppe Di Natale <dinatale2@users.noreply.github.com>Authored on Mar 10 2017, 1:40 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 10 2017, 1:40 AM
Parents
rGc3d043817305: Correct arc_summary and dbufstat python style
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG589bb918ef39: Suppress cppcheck nullPointer error in zfs_write (authored by Giuseppe Di Natale <dinatale2@users.noreply.github.com>).Mar 10 2017, 1:40 AM