From: Mike Christie Date: Mon, 15 Jul 2019 05:49:55 +0000 (+0900) Subject: rbd-nbd: Fix spacing in UpdateWatchCtx X-Git-Tag: v14.2.5~167^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d75dca1fcb0925c20a9f4eeee5a5e095aa95ed89;p=ceph.git rbd-nbd: Fix spacing in UpdateWatchCtx UpdateWatchCtx used a mix of 2 spaces and 4 spaces. This fixes the function to use 2 spaces which is used in the rest of the file. Signed-off-by: Mike Christie (cherry picked from commit ca3fad1af31638fdda5dbe847ca6bdc55755d73b) --- diff --git a/src/tools/rbd_nbd/rbd-nbd.cc b/src/tools/rbd_nbd/rbd-nbd.cc index 6708790a23e..ea36ba8b358 100644 --- a/src/tools/rbd_nbd/rbd-nbd.cc +++ b/src/tools/rbd_nbd/rbd-nbd.cc @@ -508,8 +508,8 @@ public: if (new_size != size) { dout(5) << "resize detected" << dendl; if (ioctl(fd, BLKFLSBUF, NULL) < 0) - derr << "invalidate page cache failed: " << cpp_strerror(errno) - << dendl; + derr << "invalidate page cache failed: " << cpp_strerror(errno) + << dendl; if (use_netlink) { ret = netlink_resize(nbd_index, new_size); } else { @@ -526,7 +526,7 @@ public: << dendl; } if (image.invalidate_cache() < 0) - derr << "invalidate rbd cache failed" << dendl; + derr << "invalidate rbd cache failed" << dendl; } } }