Print this page
7378 exported_lock held during nfs4 compound processing

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/nfs/nfs_log.c
          +++ new/usr/src/uts/common/fs/nfs/nfs_log.c
↓ open down ↓ 1572 lines elided ↑ open up ↑
1573 1573           * log buffer.  This will allow for the appropriate path name
1574 1574           * mapping to occur at user level.
1575 1575           */
1576 1576          if (req->rq_prog == NFS_PROGRAM) {
1577 1577                  switch (req->rq_vers) {
1578 1578                  case NFS_V3:
1579 1579                          if ((req->rq_proc == NFSPROC3_LOOKUP) &&
1580 1580                              (((LOOKUP3res *)res)->status == NFS3_OK)) {
1581 1581                                  fh3 = &((LOOKUP3res *)res)->res_u.ok.object;
1582 1582                                  exi_ret = checkexport(&fh3->fh3_fsid,
1583      -                                    FH3TOXFIDP(fh3));
     1583 +                                    FH3TOXFIDP(fh3), NULL);
1584 1584                          }
1585 1585                          break;
1586 1586  
1587 1587                  case NFS_VERSION:
1588 1588                          if ((req->rq_proc == RFS_LOOKUP) &&
1589 1589                              (((struct nfsdiropres *)
1590 1590                              res)->dr_status == NFS_OK)) {
1591 1591                                  fh =  &((struct nfsdiropres *)res)->
1592 1592                                      dr_u.dr_drok_u.drok_fhandle;
1593 1593                                  exi_ret = checkexport(&fh->fh_fsid,
1594      -                                    (fid_t *)&fh->fh_xlen);
     1594 +                                    (fid_t *)&fh->fh_xlen, NULL);
1595 1595                          }
1596 1596                          break;
1597 1597                  default:
1598 1598                          break;
1599 1599                  }
1600 1600          }
1601 1601  
1602 1602          if (exi_ret != NULL && exi_ret->exi_export.ex_flags & EX_LOG) {
1603 1603                  lb = exi_ret->exi_logbuffer;
1604 1604                  /* obtain the unique record id for the caller */
↓ open down ↓ 307 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX