Inode *in = deleg->get_fh()->inode.get();
Client *client = in->client;
- // Called back via Timer, which takes client_lock for us
- ceph_assert(ceph_mutex_is_locked_by_me(client->client_lock));
-
lsubdout(client->cct, client, 0) << __func__ <<
": delegation return timeout for inode 0x" <<
std::hex << in->ino << ". Forcibly unmounting client. "<<
{
Client *client = fh->inode.get()->client;
+ std::scoped_lock l(client->timer_lock);
if (timeout_event)
return;
{
Client *client = fh->inode.get()->client;
+ std::scoped_lock l(client->timer_lock);
if (!timeout_event)
return;