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

Collapse All | Expand All

(-)fs/nfsserver/nfs_nfsdserv.c (-3 / +10 lines)
Lines 4230-4238 nfsrvd_reclaimcomplete(struct nfsrv_desc Link Here
4230
		goto nfsmout;
4230
		goto nfsmout;
4231
	}
4231
	}
4232
	NFSM_DISSECT(tl, uint32_t *, NFSX_UNSIGNED);
4232
	NFSM_DISSECT(tl, uint32_t *, NFSX_UNSIGNED);
4233
	if (*tl == newnfs_true)
4233
	/*
4234
		nd->nd_repstat = NFSERR_NOTSUPP;
4234
	 * I believe that a ReclaimComplete with rca_one_fs == TRUE is only
4235
	else
4235
	 * to be used after a file system has been transferred to a different
4236
	 * file server.  However, RFC5661 is somewhat vague w.r.t. this and
4237
	 * the ESXi 6.7 client does both a ReclaimComplete with rca_one_fs
4238
	 * == TRUE and one with ReclaimComplete with rca_one_fs == FALSE.
4239
	 * Therefore, just ignore the rca_one_fs == TRUE operation and return
4240
	 * NFS_OK without doing anything.
4241
	 */
4242
	if (*tl == newnfs_false)
4236
		nd->nd_repstat = nfsrv_checkreclaimcomplete(nd);
4243
		nd->nd_repstat = nfsrv_checkreclaimcomplete(nd);
4237
nfsmout:
4244
nfsmout:
4238
	NFSEXITCODE2(error, nd);
4245
	NFSEXITCODE2(error, nd);

Return to bug 226494