From: Mike Christie Date: Mon, 15 Jul 2019 05:49:55 +0000 (+0900) Subject: rbd-nbd: Fix spacing in UpdateWatchCtx X-Git-Tag: v15.1.0~2084^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F29036%2Fhead;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 --- diff --git a/src/tools/rbd_nbd/rbd-nbd.cc b/src/tools/rbd_nbd/rbd-nbd.cc index 85a51bbd2da0..7164d097dcf1 100644 --- a/src/tools/rbd_nbd/rbd-nbd.cc +++ b/src/tools/rbd_nbd/rbd-nbd.cc @@ -509,8 +509,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 { @@ -527,7 +527,7 @@ public: << dendl; } if (image.invalidate_cache() < 0) - derr << "invalidate rbd cache failed" << dendl; + derr << "invalidate rbd cache failed" << dendl; } } }