Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2019 00:37:39 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r351371 - projects/nfsv42/sys/fs/nfsserver
Message-ID:  <201908220037.x7M0bdsX088325@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Thu Aug 22 00:37:38 2019
New Revision: 351371
URL: https://svnweb.freebsd.org/changeset/base/351371

Log:
  Allow a NFSv4.2 Data server to handle Seek.
  
  The NFSv4.2 RFC allows a NFSv4.2 Data server to handle Seek, so this change
  allows that.

Modified:
  projects/nfsv42/sys/fs/nfsserver/nfs_nfsdserv.c

Modified: projects/nfsv42/sys/fs/nfsserver/nfs_nfsdserv.c
==============================================================================
--- projects/nfsv42/sys/fs/nfsserver/nfs_nfsdserv.c	Thu Aug 22 00:36:16 2019	(r351370)
+++ projects/nfsv42/sys/fs/nfsserver/nfs_nfsdserv.c	Thu Aug 22 00:37:38 2019	(r351371)
@@ -5433,8 +5433,6 @@ nfsrvd_seek(struct nfsrv_descript *nd, __unused int is
 		cmd = FIOSEEKHOLE;
 	else
 		nd->nd_repstat = NFSERR_BADXDR;
-	if (nd->nd_repstat == 0 && (nd->nd_flag & ND_DSSERVER) != 0)
-		nd->nd_repstat = NFSERR_NOTSUPP;
 	if (nd->nd_repstat == 0 && vnode_vtype(vp) == VDIR)
 		nd->nd_repstat = NFSERR_ISDIR;
 	if (nd->nd_repstat == 0 && vnode_vtype(vp) != VREG)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908220037.x7M0bdsX088325>