diff options
author | GeLiXin <[email protected]> | 2016-10-01 06:40:07 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-09-30 15:40:07 -0700 |
commit | ed3ea30fb9341c860c94bf71e771f115ee4801ea (patch) | |
tree | 524a0b15122fed6e8cf76d907e9149cc2d0f3df0 /include/sys/vdev_disk.h | |
parent | 292d573e70d254f5011f20f0c4882e928fac594b (diff) |
Fix coverity defects: CID 147536, 147537, 147538
coverity scan CID:147536, type: Argument cannot be negative
- may write or close fd which is negative
coverity scan CID:147537, type: Argument cannot be negative
- may call dup2 with a negative fd
coverity scan CID:147538, type: Argument cannot be negative
- may read or fchown with a negative fd
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: GeLiXin <[email protected]>
Closes #5185
Diffstat (limited to 'include/sys/vdev_disk.h')
0 files changed, 0 insertions, 0 deletions