From 53f09e72483119e06b8fdd1f823ad2fe81294e15 Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Thu, 13 Dec 2001 13:08:34 +0000 Subject: [PATCH] Add module dependency on libmchain. With this change, mounting an smb share (using mount_smb, which is not yet included in the tree) without any of smbfs, libiconv or libmchain compiled into the kernel or loaded works. --- sys/fs/smbfs/smbfs_vfsops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 3a54992ed5cc..eff50e340b3a 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -47,6 +47,7 @@ #include #include #include +#include #include @@ -129,6 +130,7 @@ VFS_SET(smbfs_vfsops, smbfs, VFCF_NETWORK); MODULE_DEPEND(smbfs, netsmb, NSMB_VERSION, NSMB_VERSION, NSMB_VERSION); MODULE_DEPEND(smbfs, libiconv, 1, 1, 1); +MODULE_DEPEND(smbfs, libmchain, 1, 1, 1); int smbfs_pbuf_freecnt = -1; /* start out unlimited */