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_server.c
          +++ new/usr/src/uts/common/fs/nfs/nfs_server.c
↓ open down ↓ 1637 lines elided ↑ open up ↑
1638 1638                  } else
1639 1639                          cred_hits++;
1640 1640  #else
1641 1641                  if (crgetref(cr) != 1) {
1642 1642                          crfree(cr);
1643 1643                          cr = crget();
1644 1644                          xprt->xp_cred = cr;
1645 1645                  }
1646 1646  #endif
1647 1647  
1648      -                exi = checkexport(fsid, xfid);
     1648 +                exi = checkexport(fsid, xfid, NULL);
1649 1649  
1650 1650                  if (exi != NULL) {
1651 1651                          publicfh_ok = PUBLICFH_CHECK(disp, exi, fsid, xfid);
1652 1652  
1653 1653                          /*
1654 1654                           * Don't allow non-V4 clients access
1655 1655                           * to pseudo exports
1656 1656                           */
1657 1657                          if (PSEUDO(exi)) {
1658 1658                                  svcerr_weakauth(xprt);
↓ open down ↓ 1810 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX