diff options
| author | Colin Ian King <[email protected]> | 2017-07-13 17:51:15 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2017-07-13 18:18:47 +0000 |
| commit | b20dae70bfa5014fdf201d0a8589271b888e4927 (patch) | |
| tree | 808a435f0329f3547a468bf2d03583b72119e2c9 /lib/fault-inject.c | |
| parent | nfsd4: factor ctime into change attribute (diff) | |
| download | kernel-b20dae70bfa5014fdf201d0a8589271b888e4927.tar.gz kernel-b20dae70bfa5014fdf201d0a8589271b888e4927.zip | |
svcrdma: fix an incorrect check on -E2BIG and -EINVAL
The current check will always be true and will always jump to
err1, this looks dubious to me. I believe && should be used
instead of ||.
Detected by CoverityScan, CID#1450120 ("Logically Dead Code")
Fixes: 107c1d0a991a ("svcrdma: Avoid Send Queue overflow")
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Chuck Lever <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
