Lines Matching defs:ref_fh
465 static void set_version_and_fsid_type(struct svc_fh *fhp, struct svc_export *exp, struct svc_fh *ref_fh)
471 if (ref_fh && ref_fh->fh_export == exp) {
472 version = ref_fh->fh_handle.fh_version;
473 fsid_type = ref_fh->fh_handle.fh_fsid_type;
475 ref_fh = NULL;
491 * loop around again without ref_fh set.
521 struct svc_fh *ref_fh)
523 /* ref_fh is a reference file handle.
541 set_version_and_fsid_type(fhp, exp, ref_fh);
543 /* If we have a ref_fh, then copy the fh_no_wcc setting from it. */
544 fhp->fh_no_wcc = ref_fh ? ref_fh->fh_no_wcc : false;
546 if (ref_fh == fhp)
547 fh_put(ref_fh);