after a metadata flush, if we try to close a file descriptor that
was open before the flush, and that file have a metadata ID that
belongs to a metadata block that was removed by the flush, we
have to check for that in mcachefs_metadata_do_get() and return
NULL for the corresponding metadata, so the function that requested
it can deal with it properly!
this fixes a crash happening in issue #5, since
mcachefs_metadata_clean_fh_locked() will now check if the mdata
pointer is NULL before trying to use it.
after a metadata flush, if we try to close a file descriptor that was open before the flush, and that file have a metadata ID that belongs to a metadata block that was removed by the flush, we have to check for that in mcachefs_metadata_do_get() and return NULL for the corresponding metadata, so the function that requested it can deal with it properly!
this fixes a crash happening in issue #5, since mcachefs_metadata_clean_fh_locked() will now check if the mdata pointer is NULL before trying to use it.