Can we call glfs_fini() when glfs_init() failed? (a.k.a. core generated in master/3.7)

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

 



I'm able to hit a crash in master and 3.7 with the steps described in this BZ https://bugzilla.redhat.com/show_bug.cgi?id=1220996#c0

In glfs-heal.c and in other examples, we call glfs_fini (fs) if 'fs' is valid, irrespective of whether glfs_init() is successful or not. Is it okay to do this? I also found that even though glfs_init() returns -1 when the volume is not started, fs->init==1.

Thanks,
Ravi
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel




[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