summaryrefslogtreecommitdiff
path: root/japanese/msdosfs/patches.5/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/msdosfs/patches.5/patch-ac')
-rw-r--r--japanese/msdosfs/patches.5/patch-ac27
1 files changed, 27 insertions, 0 deletions
diff --git a/japanese/msdosfs/patches.5/patch-ac b/japanese/msdosfs/patches.5/patch-ac
new file mode 100644
index 000000000000..8bff82ebe6ea
--- /dev/null
+++ b/japanese/msdosfs/patches.5/patch-ac
@@ -0,0 +1,27 @@
+--- msdosfs_denode.c.orig Mon Apr 10 04:32:36 2000
++++ msdosfs_denode.c Wed Oct 4 00:41:56 2000
+@@ -59,6 +59,7 @@
+ #include <sys/mount.h>
+ #include <sys/malloc.h>
+ #include <sys/proc.h>
++#include <sys/bio.h>
+ #include <sys/buf.h>
+ #include <sys/vnode.h>
+
+@@ -114,6 +115,16 @@
+ {
+ dehashtbl = hashinit(desiredvnodes/2, M_MSDOSFSMNT, &dehash);
+ simple_lock_init(&dehash_slock);
++ return (0);
++}
++
++int
++msdosfs_uninit(vfsp)
++ struct vfsconf *vfsp;
++{
++
++ if (dehashtbl)
++ free(dehashtbl, M_MSDOSFSMNT);
+ return (0);
+ }
+