[Bugs] [Bug 1153935] fix static analysis checks in io-threads

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 21 05:55:11 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1153935



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8939 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit eea806646216f5e5a91fd35a4e138e193e3b6fac
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Fri Oct 17 11:46:46 2014 +0530

    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 at redhat.com>
    Reviewed-on: http://review.gluster.org/8939
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4fWedhouDK&a=cc_unsubscribe


More information about the Bugs mailing list