For across authority rename, the MDS first freezes the source inode's
authpin. It happens while the source dentry isn't locked. So when the
inode's authpin become frozen, the source dentry may have changed and
be linked to a different inode.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
void MDRequestImpl::set_remote_frozen_auth_pin(CInode *inode)
{
- assert(!more()->rename_inode || more()->rename_inode == inode);
more()->rename_inode = inode;
more()->is_remote_frozen_authpin = true;
}