Drop _get_inodeno() as per the comment in https://github.com/ceph/ceph/pull/21554.
Signed-off-by: Jos Collin <jcollin@redhat.com>
return vinodeno_t(in->ino, in->snapid);
}
-inodeno_t Client::_get_inodeno(Inode *in)
-{
- /* The caller must hold the client lock */
- return in->ino;
-}
-
-
/**
* Resolve an MDS spec to a list of MDS daemon GIDs.
*
bool Client::_ll_forget(Inode *in, int count)
{
- inodeno_t ino = _get_inodeno(in);
+ inodeno_t ino = in->ino;
ldout(cct, 3) << __func__ << " " << ino << " " << count << dendl;
tout(cct) << __func__ << std::endl;
int _getattr_for_perm(Inode *in, const UserPerm& perms);
vinodeno_t _get_vino(Inode *in);
- inodeno_t _get_inodeno(Inode *in);
/*
* These define virtual xattrs exposing the recursive directory