diff options
author | Bruce Evans <bde@FreeBSD.org> | 1997-02-26 14:23:16 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1997-02-26 14:23:16 +0000 |
commit | af3f60d5a89e257a0b0b0757e91bbc4fd6c6435a (patch) | |
tree | b44ac98051213280c764930c4afc6f1b7e6c50d4 /sys/fs/msdosfs/denode.h | |
parent | ebbdc73076389ccf66388eb66eeef8943f6a815f (diff) |
Updated msdosfs to use Lite2 vfs configuration and Lite2 locking. It
should now work as (un)well as before the Lite2 merge.
Notes
Notes:
svn path=/head/; revision=23134
Diffstat (limited to 'sys/fs/msdosfs/denode.h')
-rw-r--r-- | sys/fs/msdosfs/denode.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/fs/msdosfs/denode.h b/sys/fs/msdosfs/denode.h index a6ed18515ae0..a03c8028b5df 100644 --- a/sys/fs/msdosfs/denode.h +++ b/sys/fs/msdosfs/denode.h @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id: denode.h,v 1.11 1997/02/22 09:40:44 peter Exp $ */ /* $NetBSD: denode.h,v 1.8 1994/08/21 18:43:49 ws Exp $ */ /*- @@ -148,8 +148,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 */ - pid_t de_lockholder; /* current lock holder */ - pid_t de_lockwaiter; /* lock wanter */ + struct lock de_lock; /* denode lock */ /* the next two fields must be contiguous in memory... */ u_char de_Name[8]; /* name, from directory entry */ u_char de_Extension[3]; /* extension, from directory entry */ @@ -165,8 +164,6 @@ struct denode { /* * Values for the de_flag field of the denode. */ -#define DE_LOCKED 0x0001 /* directory entry is locked */ -#define DE_WANTED 0x0002 /* someone wants this de */ #define DE_UPDATE 0x0004 /* modification time update request */ #define DE_MODIFIED 0x0080 /* denode has been modified, but DE_UPDATE * isn't set */ |