diff options
-rw-r--r-- | src/rbd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rbd.cc b/src/rbd.cc index 79860c2d772..3e586bd4dcb 100644 --- a/src/rbd.cc +++ b/src/rbd.cc @@ -1141,7 +1141,7 @@ static int do_export_diff(librbd::Image& image, const char *fromsnapname, __u8 tag = 'e'; bufferlist bl; ::encode(tag, bl); - bl.write_fd(fd); + r = bl.write_fd(fd); if (r < 0) return r; } |