]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: pass bypassfreezing to parent auth pin req
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 23 Apr 2024 17:50:19 +0000 (13:50 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 1 May 2024 13:30:48 +0000 (09:30 -0400)
Credit to Leonid for first noticing this.

Fixes: https://tracker.ceph.com/issues/65603
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ded6a1c8ed49254759686ac07bd10fcf638e901d)

src/mds/CInode.cc

index d6ca9b31610ee5157561bd5fd512a0ff9cf44497..8f143463cce931a336a0006724e04e55c8f60c5e 100644 (file)
@@ -2978,7 +2978,7 @@ bool CInode::can_auth_pin(int *err_ret, bool bypassfreezing) const {
     err = ERR_EXPORTING_INODE;
   } else {
     if (parent)
-      return parent->can_auth_pin(err_ret);
+      return parent->can_auth_pin(err_ret, bypassfreezing);
     err = 0;
   }
   if (err && err_ret)