changeset 13961:d4092a41420b

1927 nfs4 stale clientid loop (OI server, Linux client) Reviewed by: Carlos Cardenas <cardenas12@gmail.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
author Marcel Telka <Marcel.Telka@nexenta.com>
date Tue, 19 Feb 2013 15:34:44 -0500
parents 800b7743c4f3
children d2de5400d39e
files usr/src/uts/common/fs/nfs/nfs4_srv.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/fs/nfs/nfs4_srv.c	Tue Feb 19 09:16:46 2013 -0500
+++ b/usr/src/uts/common/fs/nfs/nfs4_srv.c	Tue Feb 19 15:34:44 2013 -0500
@@ -22,7 +22,7 @@
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  */
 /*
- * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
  */
 
 /*
@@ -7341,7 +7341,7 @@
 	create = TRUE;
 	oo = rfs4_findopenowner(owner, &create, args->seqid);
 	if (oo == NULL) {
-		*cs->statusp = resp->status = NFS4ERR_STALE_CLIENTID;
+		*cs->statusp = resp->status = NFS4ERR_RESOURCE;
 		rfs4_client_rele(cp);
 		goto end;
 	}