On Tue, 21 Oct 2008 08:30:54 +0530 "Basavanagowda Kanur" <gowda@xxxxxxxxxxxxx> wrote: > > fd_destroy() is not called by any translator directly. fd_destroy() is > called when fd->ref = 0(zero). > > yes, thanks for pointing out. fd was getting leaked if > open()/create()/opendir() failed. it is fixed in > glusterfs--mainline--3.0--patch-440 > > Thank you. But I found this leak in glusterfs-1.3.12, where is no fd_unset() function. So for glusterfs--mainline--2.5 it must be fd_destroy() in the same functions instead of fd_unset()