Print

Print


This should only be merged on top of #505 

[XrdCeph] Fixed some resource leak when Posix_Open fails

File descriptor were allocated (this is not a leak per se, just a counter increasing) and stored into maps where they would never be deleted in case of error.
Now maps are cleaned up in case of errors
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/506

-- Commit Summary --

  * [XrdCeph] Added support for namelib in ceph plugin
  * [xrdCeph] Fixed internal (f)stat so that it sets S_IFREG in returned mode
  * [xrdCeph] properly return ENOENT when file does not exist in open for read
  * [xrdceph] Fixed configuration of the XrdCephOss module
  * [XrdCeph] Fixed some resource leak when Posix_Open fails

-- File Changes --

    M src/XrdCeph/XrdCephOss.cc (37)
    M src/XrdCeph/XrdCephOss.hh (4)
    M src/XrdCeph/XrdCephPosix.cc (83)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/506.patch
https://github.com/xrootd/xrootd/pull/506.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/506

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1