NFSX_V4FLEXLAYOUT
layp = malloc(NFSX_V4FLEXLAYOUT(nfsrv_maxpnfsmirror), M_TEMP,
if (NFSX_V4FLEXLAYOUT(mirrorcnt) > maxcnt)
lyp = malloc(sizeof(struct nfslayout) + NFSX_V4FLEXLAYOUT(mirrorcnt),
lyp->lay_layoutlen = NFSX_V4FLEXLAYOUT(mirrorcnt);