View | Details | Raw Unified | Return to bug 261291 | Differences between
and this patch

Collapse All | Expand All

(-)sys/fs/nfsserver/nfs_nfsdstate.c (-4 / +5 lines)
Lines 676-685 nfsrv_getclient(nfsquad_t clientid, int opflags, struc Link Here
676
	 * Perform any operations specified by the opflags.
676
	 * Perform any operations specified by the opflags.
677
	 */
677
	 */
678
	if (opflags & CLOPS_CONFIRM) {
678
	if (opflags & CLOPS_CONFIRM) {
679
		if (((nd->nd_flag & ND_NFSV41) != 0 &&
679
		if ((nd->nd_flag & ND_NFSV41) != 0 &&
680
		     clp->lc_confirm.lval[0] != confirm.lval[0]) ||
680
		     clp->lc_confirm.lval[0] != confirm.lval[0])
681
		    ((nd->nd_flag & ND_NFSV41) == 0 &&
681
			error = NFSERR_SEQMISORDERED;
682
		     clp->lc_confirm.qval != confirm.qval))
682
		else if ((nd->nd_flag & ND_NFSV41) == 0 &&
683
		     clp->lc_confirm.qval != confirm.qval)
683
			error = NFSERR_STALECLIENTID;
684
			error = NFSERR_STALECLIENTID;
684
		else if (nfsrv_notsamecredname(nd, clp))
685
		else if (nfsrv_notsamecredname(nd, clp))
685
			error = NFSERR_CLIDINUSE;
686
			error = NFSERR_CLIDINUSE;

Return to bug 261291