From ca3fad1af31638fdda5dbe847ca6bdc55755d73b Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Mon, 15 Jul 2019 14:49:55 +0900 Subject: [PATCH] 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 --- src/tools/rbd_nbd/rbd-nbd.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } } } -- 2.47.3