]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: remove redundant parenthesis
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 14 Oct 2023 00:27:02 +0000 (20:27 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 22 Mar 2024 15:38:02 +0000 (11:38 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 1513327c1a55614ac7e2f1a6da0de06e5fd2214d)

src/mds/MDCache.cc

index 5022b23dd0f33c6ea2fab38e4c97955551ae147a..84e743af82fcfc6d694bcb2b5a968e7a232e4d95 100644 (file)
@@ -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);