[Bugs] [Bug 1441106] New: [Geo-rep]: Unnecessary unlink call while processing rmdir

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 11 08:41:58 UTC 2017


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

            Bug ID: 1441106
           Summary: [Geo-rep]: Unnecessary unlink call while processing
                    rmdir
           Product: GlusterFS
           Version: mainline
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: khiremat at redhat.com
                CC: bugs at gluster.org



Description of problem:
Even though it is known to be 'RMDIR' from changelog, os.unlink
is being tried and os.rmdir is issued upon receiving
EISDIR. It's unnecessary.

Version-Release number of selected component (if applicable):
mainline

How reproducible:
Always

Actual results:
rmdir is issued upon receiving EISDIR from os.unlink

Expected results:
Directly issue rmdir for directories and os.unlink for unlinks

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list