diff options
Diffstat (limited to 'src/librbd.cc')
-rw-r--r-- | src/librbd.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librbd.cc b/src/librbd.cc index 2f0ecc77a2c..5e0c7321fea 100644 --- a/src/librbd.cc +++ b/src/librbd.cc @@ -1111,8 +1111,6 @@ int do_copy_extent(uint64_t offset, size_t len, const char *buf, void *data) int ret = 0; if (buf) { ret = write(cp->destictx, offset, len, buf); - if (ret < 0) - return ret; } return ret; } |