must include lock.h if you want to play with locks
authortedu <tedu@openbsd.org>
Tue, 16 Dec 2014 19:56:33 +0000 (19:56 +0000)
committertedu <tedu@openbsd.org>
Tue, 16 Dec 2014 19:56:33 +0000 (19:56 +0000)
sys/ntfs/ntfs_subr.c
sys/ntfs/ntfs_vfsops.c
sys/ntfs/ntfs_vnops.c

index aa2984d..e1af21b 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ntfs_subr.c,v 1.40 2014/12/09 07:16:41 doug Exp $     */
+/*     $OpenBSD: ntfs_subr.c,v 1.41 2014/12/16 19:56:33 tedu Exp $     */
 /*     $NetBSD: ntfs_subr.c,v 1.4 2003/04/10 21:37:32 jdolecek Exp $   */
 
 /*-
@@ -34,6 +34,7 @@
 #include <sys/namei.h>
 #include <sys/kernel.h>
 #include <sys/vnode.h>
+#include <sys/lock.h>
 #include <sys/mount.h>
 #include <sys/buf.h>
 #include <sys/file.h>
index 9d24d63..cd64207 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ntfs_vfsops.c,v 1.42 2014/12/09 07:16:41 doug Exp $   */
+/*     $OpenBSD: ntfs_vfsops.c,v 1.43 2014/12/16 19:56:33 tedu Exp $   */
 /*     $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */
 
 /*-
@@ -35,6 +35,7 @@
 #include <sys/proc.h>
 #include <sys/kernel.h>
 #include <sys/vnode.h>
+#include <sys/lock.h>
 #include <sys/mount.h>
 #include <sys/buf.h>
 #include <sys/disk.h>
index b8277cf..0da88f8 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ntfs_vnops.c,v 1.36 2014/07/12 18:43:52 tedu Exp $    */
+/*     $OpenBSD: ntfs_vnops.c,v 1.37 2014/12/16 19:56:33 tedu Exp $    */
 /*     $NetBSD: ntfs_vnops.c,v 1.6 2003/04/10 21:57:26 jdolecek Exp $  */
 
 /*
@@ -42,6 +42,7 @@
 #include <sys/time.h>
 #include <sys/stat.h>
 #include <sys/vnode.h>
+#include <sys/lock.h>
 #include <sys/mount.h>
 #include <sys/namei.h>
 #include <sys/malloc.h>