From 018150ad836d95aa2d43deda73fcf2c9be3d3b0c Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Fri, 13 Oct 2023 20:27:02 -0400 Subject: [PATCH] mds: remove redundant parenthesis Signed-off-by: Patrick Donnelly (cherry picked from commit 1513327c1a55614ac7e2f1a6da0de06e5fd2214d) --- src/mds/MDCache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 5022b23dd0f..84e743af82f 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -8619,7 +8619,7 @@ int MDCache::path_traverse(const MDRequestRef& mdr, MDSContextFactory& cf, discover = true; } - if ((discover)) { + if (discover) { dout(7) << "traverse: discover from " << path[depth] << " from " << *curdir << dendl; discover_path(curdir, snapid, path.postfixpath(depth), cf.build(), path_locked); -- 2.39.5