Date: Wed, 13 Apr 2016 01:08:42 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r297900 - projects/pnfs-server/sys/fs/nfs Message-ID: <201604130108.u3D18gts020051@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rmacklem Date: Wed Apr 13 01:08:42 2016 New Revision: 297900 URL: https://svnweb.freebsd.org/changeset/base/297900 Log: Fix the nfsproto.h file so that nfsd.c will build. Modified: projects/pnfs-server/sys/fs/nfs/nfsproto.h Modified: projects/pnfs-server/sys/fs/nfs/nfsproto.h ============================================================================== --- projects/pnfs-server/sys/fs/nfs/nfsproto.h Wed Apr 13 01:00:29 2016 (r297899) +++ projects/pnfs-server/sys/fs/nfs/nfsproto.h Wed Apr 13 01:08:42 2016 (r297900) @@ -644,6 +644,7 @@ #define NFSFLAYUTIL_DENSE 0x1 #define NFSFLAYUTIL_COMMIT_THRU_MDS 0x2 +#ifdef _KERNEL /* Conversion macros */ #define vtonfsv2_mode(t,m) \ txdr_unsigned(((t) == VFIFO) ? MAKEIMODE(VCHR, (m)) : \ @@ -793,6 +794,7 @@ struct nfsv3_sattr { u_int32_t sa_mtimetype; nfstime3 sa_mtime; }; +#endif /* _KERNEL */ /* * The attribute bits used for V4.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604130108.u3D18gts020051>