Re: catching unitialized structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/29/2013 10:44 PM, Emmanuel Dreyfus wrote:
On Mon, Apr 29, 2013 at 05:01:46PM +0000, Emmanuel Dreyfus wrote:
I found an uninitialized mutex and I am tracking another one.
In xlators/mgmt/glusterd/src:gd_lock_op_phase()
gd_syncargs_init() is not called, whereas it is called at other places
to initialize args. Is it correct?

It is correct (and intentional). gd_lock_op_phase and gd_unlock_op_phase
don't use args->dict, so don't use the args->lock_dict to protect it's
access.

~krish



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux