diff options
author | Kotresh HR <khiremat@redhat.com> | 2017-04-10 06:52:51 -0400 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2017-04-17 01:15:20 -0400 |
commit | 324509b340ebbab1e1531de9ba0a3ed6f4563753 (patch) | |
tree | dacc4510132e9f9c71da7ca3ecbb0eeb2af7bcc6 /geo-replication/tests | |
parent | c09f5a28bfd14066f9b8cfca53c7a9d999f1613e (diff) |
geo-rep: Remove unlink fop during rmdir
Even though it is known to be 'RMDIR', os.unlink
was being tried and os.rmdir is issued upon receiving
EISDIR. It's unnecessary unlink call for 'RMDIR'.
Fixed the same.
Change-Id: I8dbb680ee2c7f0c32b7799b1ed5351b3621cb42a
BUG: 1441106
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: https://review.gluster.org/17041
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'geo-replication/tests')
0 files changed, 0 insertions, 0 deletions