summaryrefslogtreecommitdiff
path: root/sys/msdosfs/denode.h
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-06-19 11:54:35 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-06-19 11:54:35 +0000
commitb70123aec90044d17f9882033c3f3ac7a1fb78f6 (patch)
tree84f74dc221b666238a94c4435ab5d31c75d67428 /sys/msdosfs/denode.h
parentdf2ea89c9faeef8fb93ba702e7841560708f8a61 (diff)
Remove the lockmgr() API. It is only used by filesystems, where it is a
trivial change to use rrw locks instead. All it needs is LK_* defines for the RW_* flags. tested by naddy and sthen on package building infrastructure input and ok jmc mpi tedu
Diffstat (limited to 'sys/msdosfs/denode.h')
-rw-r--r--sys/msdosfs/denode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/denode.h b/sys/msdosfs/denode.h
index 0844e7e8c60..e9a142f8834 100644
--- a/sys/msdosfs/denode.h
+++ b/sys/msdosfs/denode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: denode.h,v 1.28 2016/01/13 10:00:55 mpi Exp $ */
+/* $OpenBSD: denode.h,v 1.29 2016/06/19 11:54:33 natano Exp $ */
/* $NetBSD: denode.h,v 1.24 1997/10/17 11:23:39 ws Exp $ */
/*-
@@ -149,7 +149,7 @@ struct denode {
long de_refcnt; /* reference count */
struct msdosfsmount *de_pmp; /* addr of our mount struct */
struct lockf *de_lockf; /* byte level lock list */
- struct lock de_lock; /* denode lock */
+ struct rrwlock de_lock; /* denode lock */
u_char de_Name[11]; /* name, from DOS directory entry */
u_char de_Attributes; /* attributes, from directory entry */
u_char de_CTimeHundredth; /* creation time, 1/100th of a sec */