From: Patrick Donnelly Date: Tue, 23 Apr 2024 17:50:19 +0000 (-0400) Subject: mds: pass bypassfreezing to parent auth pin req X-Git-Tag: v20.0.0~2039^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ded6a1c8ed49254759686ac07bd10fcf638e901d;p=ceph.git mds: pass bypassfreezing to parent auth pin req Credit to Leonid for first noticing this. Fixes: https://tracker.ceph.com/issues/65603 Signed-off-by: Patrick Donnelly --- diff --git a/src/mds/CInode.cc b/src/mds/CInode.cc index 33cc0b9eb28d6..08bc7fd2a5445 100644 --- a/src/mds/CInode.cc +++ b/src/mds/CInode.cc @@ -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)