diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-12-13 13:08:34 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-12-13 13:08:34 +0000 |
commit | 0cfa55aca80bcc5bc29a0d0304d086bee901e5e8 (patch) | |
tree | 0045a54f00a06d811f4526c5d8458fc5910bd182 /sys/fs/smbfs/smbfs_vfsops.c | |
parent | 7cfed6a8b731c7ee2f919221c5ee1799d4add5e2 (diff) | |
download | FreeBSD-src-0cfa55aca80bcc5bc29a0d0304d086bee901e5e8.zip FreeBSD-src-0cfa55aca80bcc5bc29a0d0304d086bee901e5e8.tar.gz |
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.
Diffstat (limited to 'sys/fs/smbfs/smbfs_vfsops.c')
-rw-r--r-- | sys/fs/smbfs/smbfs_vfsops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 3a54992..eff50e3 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -47,6 +47,7 @@ #include <sys/mount.h> #include <sys/stat.h> #include <sys/malloc.h> +#include <sys/module.h> #include <netsmb/smb.h> @@ -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 */ |