diff options
author | netchild <netchild@FreeBSD.org> | 2011-02-25 10:11:01 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2011-02-25 10:11:01 +0000 |
commit | cc4128c6b1ffcb09a70e70959874cc2bb6e81d0e (patch) | |
tree | 777029c0673c0c489ae84b9e4b20c9e41ad56aac /sys/nfsclient | |
parent | 86423932a67f9fb0a4432c59110644406f829c52 (diff) | |
download | FreeBSD-src-cc4128c6b1ffcb09a70e70959874cc2bb6e81d0e.zip FreeBSD-src-cc4128c6b1ffcb09a70e70959874cc2bb6e81d0e.tar.gz |
Add some FEATURE macros for various features (AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/
PMC/SYSV/...).
No FreeBSD version bump, the userland application to query the features will
be committed last and can serve as an indication of the availablility if
needed.
Sponsored by: Google Summer of Code 2010
Submitted by: kibab
Reviewed by: arch@ (parts by rwatson, trasz, jhb)
X-MFC after: to be determined in last commit with code from this project
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 3700708..1f6ba8c 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -78,6 +78,8 @@ __FBSDID("$FreeBSD$"); #include <nfsclient/nfsm_subs.h> #include <nfsclient/nfsdiskless.h> +FEATURE(nfsclient, "NFS client"); + MALLOC_DEFINE(M_NFSREQ, "nfsclient_req", "NFS request header"); MALLOC_DEFINE(M_NFSBIGFH, "nfsclient_bigfh", "NFS version 3 file handle"); MALLOC_DEFINE(M_NFSDIROFF, "nfsclient_diroff", "NFS directory offset data"); |