diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-10-17 11:46:46 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-10-20 22:55:03 -0700 |
commit | eea806646216f5e5a91fd35a4e138e193e3b6fac (patch) | |
tree | 3fe8865afbb8b4834d34ad5ec0e8ecc232499c52 /xlators/protocol | |
parent | 5ac067e560696410c059b21ca039f74687c62e7a (diff) |
performance/io-threads: Fix static analysis error
stub->fop can be more than FOP_MAX is what static analysis is complaining. This
patch doesn't allow any 'log' to be printed in the case fop value is not in the
definied range. It gives EINVAL instead.
Change-Id: I293381e2c1ad0ab45154b0192a637612becaf744
BUG: 1153935
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/8939
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/protocol')
0 files changed, 0 insertions, 0 deletions