From owner-svn-src-projects@freebsd.org Wed Apr 13 01:08:43 2016 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6262B0CDDC for ; Wed, 13 Apr 2016 01:08:43 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 782651349; Wed, 13 Apr 2016 01:08:43 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3D18gb6020052; Wed, 13 Apr 2016 01:08:42 GMT (envelope-from rmacklem@FreeBSD.org) Received: (from rmacklem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3D18gts020051; Wed, 13 Apr 2016 01:08:42 GMT (envelope-from rmacklem@FreeBSD.org) Message-Id: <201604130108.u3D18gts020051@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rmacklem set sender to rmacklem@FreeBSD.org using -f From: Rick Macklem Date: Wed, 13 Apr 2016 01:08:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r297900 - projects/pnfs-server/sys/fs/nfs X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2016 01:08:43 -0000 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.