aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2015-12-11 19:47:47 -0500
committerBrian Behlendorf <[email protected]>2016-01-23 10:16:26 -0800
commit957dc93242bfa5c94b3ffecfb02c5f758cf82f37 (patch)
tree51393d37f50e2dd6cffa322e7a38770774080ecc /module
parentee42b3d6c3e4bd16d87b75e92a2bdec5cb85cd77 (diff)
kobj_read_file: Return -1 on vn_rdwr() error
LLVM's static analyzer showed that we could subtract using an uninitialized value on an error from vn_rdwr(). The correct behavior is to return -1 on an error, so lets do that instead. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4104
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions