Print this page
7378 exported_lock held during nfs4 compound processing
*** 2715,2725 ****
fbva.va_mask = AT_ALL;
fbvap = VOP_GETATTR(fvp, &fbva, 0, cr, NULL) ? NULL : &fbva;
favap = fbvap;
fh3 = &args->to.dir;
! to_exi = checkexport(&fh3->fh3_fsid, FH3TOXFIDP(fh3));
if (to_exi == NULL) {
resp->status = NFS3ERR_ACCES;
goto err1;
}
exi_rele(to_exi);
--- 2715,2725 ----
fbva.va_mask = AT_ALL;
fbvap = VOP_GETATTR(fvp, &fbva, 0, cr, NULL) ? NULL : &fbva;
favap = fbvap;
fh3 = &args->to.dir;
! to_exi = checkexport(&fh3->fh3_fsid, FH3TOXFIDP(fh3), NULL);
if (to_exi == NULL) {
resp->status = NFS3ERR_ACCES;
goto err1;
}
exi_rele(to_exi);
*** 2925,2935 ****
va.va_mask = AT_ALL;
vap = VOP_GETATTR(vp, &va, 0, cr, NULL) ? NULL : &va;
fh3 = &args->link.dir;
! to_exi = checkexport(&fh3->fh3_fsid, FH3TOXFIDP(fh3));
if (to_exi == NULL) {
resp->status = NFS3ERR_ACCES;
goto out1;
}
exi_rele(to_exi);
--- 2925,2935 ----
va.va_mask = AT_ALL;
vap = VOP_GETATTR(vp, &va, 0, cr, NULL) ? NULL : &va;
fh3 = &args->link.dir;
! to_exi = checkexport(&fh3->fh3_fsid, FH3TOXFIDP(fh3), NULL);
if (to_exi == NULL) {
resp->status = NFS3ERR_ACCES;
goto out1;
}
exi_rele(to_exi);