]> git.apps.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>
Mon, 29 Apr 2024 21:08:39 +0000 (17:08 -0400)
Credit to Leonid for first noticing this.

Fixes: https://tracker.ceph.com/issues/65603
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/CInode.cc

index 33cc0b9eb28d6a708f39bc1f025e5adf488280b0..08bc7fd2a5445796b2abaa68dd1e3cd4eb3d56c7 100644 (file)
@@ -2979,7 +2979,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)