diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2009-04-12 19:04:27 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2009-04-12 19:04:27 +0000 |
commit | bb19ddd3ae86245d3ec07e01dddd703df190e108 (patch) | |
tree | f6962a19f747e88cf2ea71b892b0eb5a6b5797d4 /sys/modules | |
parent | 2c81196a786de08a0665470134ae0462dadc103f (diff) | |
download | FreeBSD-src-bb19ddd3ae86245d3ec07e01dddd703df190e108.zip FreeBSD-src-bb19ddd3ae86245d3ec07e01dddd703df190e108.tar.gz |
Change nfsserver so that it uses the nfssvc() system call provided
in sys/nfs/nfs_nfssvc.c by registering with it using the
nfsd_call_nfsserver function pointer. Also, add the build glue for
nfs_nfssvc.c optionally based on "nfsserver" and also as a loadable
module.
Submitted by: rmacklem
Reviewed by: kib
Approved by: kib (mentor)
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/nfssvc/Makefile | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 4329717..969f704 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -187,6 +187,7 @@ SUBDIR= ${_3dfx} \ nfsclient \ nfslockd \ nfsserver \ + nfssvc \ nge \ nmdm \ ${_nsp} \ diff --git a/sys/modules/nfssvc/Makefile b/sys/modules/nfssvc/Makefile new file mode 100644 index 0000000..0073d13 --- /dev/null +++ b/sys/modules/nfssvc/Makefile @@ -0,0 +1,9 @@ + +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../nfs +KMOD= nfssvc +SRCS= nfs_nfssvc.c \ + opt_nfs.h + +.include <bsd.kmod.mk> |