[Bugs] [Bug 1344396] fd leak in disperse

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 9 15:27:19 UTC 2016


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

Xavier Hernandez <xhernandez at datalab.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(xhernandez at datala |
                   |b.es)                       |



--- Comment #2 from Xavier Hernandez <xhernandez at datalab.es> ---
In function ec_lock_update_fd() we choose the newest fd to keep it in the lock
structure. If there's already an fd assigned, we release it using __fd_unref().
We use this function because we are already inside a region protected bye
inode->lock, so we cannot call fd_unref().

The problem is that this function doesn't do any cleanup. It only decrements
the ref counter. All cleanup is made in fd_unref().

-- 
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=aBQQCatGI0&a=cc_unsubscribe


More information about the Bugs mailing list