aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/smbfs/smbfs_vfsops.c
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2005-10-14 23:17:45 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2005-10-14 23:17:45 +0000
commit10d645b7e5a073fc2d4c2bd7472966b4381caf7c (patch)
tree97c97f8faaa373219f25974eabbd67597dd0770f /sys/fs/smbfs/smbfs_vfsops.c
parent9c3acb0bc1e66c01b60ce64d7252f4607578ef4b (diff)
downloadsrc-10d645b7e5a073fc2d4c2bd7472966b4381caf7c.tar.gz
src-10d645b7e5a073fc2d4c2bd7472966b4381caf7c.zip
In preparation for making the modules actually use opt_*.h files
provided in the kernel build directory, fix modules that were failing to build this way due to not quite correct kernel option usage. In particular: ng_mppc.c uses two complementary options, both of which are listed in sys/conf/files. Ideally, there should be a separate option for including ng_mppc.c in kernel build, but now only NETGRAPH_MPPC_ENCRYPTION is usable anyway, the other one requires proprietary files. nwfs and smbfs were trying to ensure they were built with proper network components, but the check was rather questionable. Discussed with: ru
Notes
Notes: svn path=/head/; revision=151349
Diffstat (limited to 'sys/fs/smbfs/smbfs_vfsops.c')
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index b774443cbdb3..5c093c175302 100644
--- a/sys/fs/smbfs/smbfs_vfsops.c
+++ b/sys/fs/smbfs/smbfs_vfsops.c
@@ -31,10 +31,6 @@
*
* $FreeBSD$
*/
-#include "opt_netsmb.h"
-#ifndef NETSMB
-#error "SMBFS requires option NETSMB"
-#endif
#include <sys/param.h>
#include <sys/systm.h>