summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union_vnops.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-21 23:22:52 +0000
committerwollman <wollman@FreeBSD.org>1994-09-21 23:22:52 +0000
commit8c2367ad380541b5c6c41a810df43a755581aa9f (patch)
treeab2a24b88ad2db76cb0d7f46d5e7ea9d15a9b3bb /sys/fs/unionfs/union_vnops.c
parent39056852b1268ee1b08ecdae7397cff08940ad3d (diff)
downloadFreeBSD-src-8c2367ad380541b5c6c41a810df43a755581aa9f.zip
FreeBSD-src-8c2367ad380541b5c6c41a810df43a755581aa9f.tar.gz
Fix a few niggling little bugs:
- set args->lkm_offset correctly so that VFS modules can be unloaded - initialize _fs_vfsops.vfc_refcount correctly so that VFS modules can be unloaded - include kernel.h in a few placves to get the correct definition of DATA_SET
Diffstat (limited to 'sys/fs/unionfs/union_vnops.c')
-rw-r--r--sys/fs/unionfs/union_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index 0e71ee8..9aa19f1 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_vnops.c 8.6 (Berkeley) 2/17/94
- * $Id: union_vnops.c,v 1.3 1994/08/02 07:45:47 davidg Exp $
+ * $Id: union_vnops.c,v 1.4 1994/09/21 03:47:14 wollman Exp $
*/
#include <sys/param.h>
@@ -43,6 +43,7 @@
#include <sys/proc.h>
#include <sys/file.h>
#include <sys/time.h>
+#include <sys/kernel.h>
#include <sys/types.h>
#include <sys/vnode.h>
#include <sys/mount.h>
OpenPOWER on IntegriCloud