[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 3 15:35:25 UTC 2017


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



--- Comment #869 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16793 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 7ddab8fa7b05343e4a110fadc227675479f9e358
Author: Michael Scherer <misc at redhat.com>
Date:   Wed Mar 1 16:38:21 2017 +0100

    Free the mutex even if we can't allocate a inode

    Since GF_CHECK_ALLOC may jump to out, with a mutex locked,
    we need to make sure the mutex is unlocked before returning.

    Error found by coverity

    Change-Id: I81011e18afc90c2c0fd489ceeb78d90ae31e35ba
    BUG: 789278
    Signed-off-by: Michael Scherer <misc at redhat.com>
    Reviewed-on: https://review.gluster.org/16793
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Tested-by: Michael Scherer <misc at fedoraproject.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra Bhat <raghavendra at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Bugs mailing list