[Bugs] [Bug 1170954] Fix mutex problems reported by coverity scan

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 5 06:58:35 UTC 2015


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



--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9244 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com) 
------
commit 8bfe216b8297129833d3af5a66984b9b9bf0046c
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Wed Dec 3 16:42:31 2014 +0100

    ec: Fix mutex related coverity scan issues

    This patch solves 3 issues detected by coverity scan:

        CID1241484 Data race condition
        CID1241486 Data race condition
        CID1256173 Thread deadlock
        CID1257622 Thread deadlock

    With this patch, inode lock is never acquired inside a region locked
    with fop->lock.

    This is a backport of http://review.gluster.org/9230/ and
    http://review.gluster.org/9263/

    Change-Id: I35c4633efd1b68b9f72b42661fa7c728b1f52c6a
    BUG: 1170954
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: http://review.gluster.org/9244
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Reviewed-by: Raghavendra Bhat <raghavendra 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=bK6Btzwy1a&a=cc_unsubscribe


More information about the Bugs mailing list