Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2019 00:07:10 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r356213 - head/usr.bin/nfsstat
Message-ID:  <201912310007.xBV07ASR074217@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Tue Dec 31 00:07:10 2019
New Revision: 356213
URL: https://svnweb.freebsd.org/changeset/base/356213

Log:
  Replace .h files included from old NFS directories with the new NFS ones.
  
  Prior to this patch, nfsstat.c includes files from sys/nfs, sys/nfsclient
  and sys/nfsserver. These .h files (particularily the ones in sys/nfsclient
  and sys/nfsserver) are from the old NFS code and should eventually be
  deprecated/removed.
  This patch changes nfsstat.c to include files from the new/current NFS
  code instead of the old ones in preparation for eventual removal.

Modified:
  head/usr.bin/nfsstat/nfsstat.c

Modified: head/usr.bin/nfsstat/nfsstat.c
==============================================================================
--- head/usr.bin/nfsstat/nfsstat.c	Tue Dec 31 00:05:06 2019	(r356212)
+++ head/usr.bin/nfsstat/nfsstat.c	Tue Dec 31 00:07:10 2019	(r356213)
@@ -79,11 +79,9 @@ static const char rcsid[] =
 #include <sys/mount.h>
 #include <sys/time.h>
 #include <sys/sysctl.h>
-#include <nfs/nfsproto.h>
-#include <nfsclient/nfs.h>
-#include <nfsserver/nfs.h>
 #include <nfs/nfssvc.h>
 
+#include <fs/nfs/nfsproto.h>
 #include <fs/nfs/nfsport.h>
 
 #include <signal.h>



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