It is named _ll_fh_exists meaning it is a helper func
only to be used with low level APIs.
Fixes: https://tracker.ceph.com/issues/64313
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit
5d1255c81b0513fc9e70a4c136b3c3a61a85aee1)
return it->second;
}
int get_fd_inode(int fd, InodeRef *in);
+ bool _ll_fh_exists(Fh *f) {
+ return ll_unclosed_fh_set.count(f);
+ }
// helpers
void wake_up_session_caps(MetaSession *s, bool reconnect);