Print this page
7378 exported_lock held during nfs4 compound processing
*** 1578,1599 ****
case NFS_V3:
if ((req->rq_proc == NFSPROC3_LOOKUP) &&
(((LOOKUP3res *)res)->status == NFS3_OK)) {
fh3 = &((LOOKUP3res *)res)->res_u.ok.object;
exi_ret = checkexport(&fh3->fh3_fsid,
! FH3TOXFIDP(fh3));
}
break;
case NFS_VERSION:
if ((req->rq_proc == RFS_LOOKUP) &&
(((struct nfsdiropres *)
res)->dr_status == NFS_OK)) {
fh = &((struct nfsdiropres *)res)->
dr_u.dr_drok_u.drok_fhandle;
exi_ret = checkexport(&fh->fh_fsid,
! (fid_t *)&fh->fh_xlen);
}
break;
default:
break;
}
--- 1578,1599 ----
case NFS_V3:
if ((req->rq_proc == NFSPROC3_LOOKUP) &&
(((LOOKUP3res *)res)->status == NFS3_OK)) {
fh3 = &((LOOKUP3res *)res)->res_u.ok.object;
exi_ret = checkexport(&fh3->fh3_fsid,
! FH3TOXFIDP(fh3), NULL);
}
break;
case NFS_VERSION:
if ((req->rq_proc == RFS_LOOKUP) &&
(((struct nfsdiropres *)
res)->dr_status == NFS_OK)) {
fh = &((struct nfsdiropres *)res)->
dr_u.dr_drok_u.drok_fhandle;
exi_ret = checkexport(&fh->fh_fsid,
! (fid_t *)&fh->fh_xlen, NULL);
}
break;
default:
break;
}