diff options
author | semenu <semenu@FreeBSD.org> | 1999-04-20 21:06:44 +0000 |
---|---|---|
committer | semenu <semenu@FreeBSD.org> | 1999-04-20 21:06:44 +0000 |
commit | 42e01703dca788bba764956ba12647f3dcdd7ec9 (patch) | |
tree | 94575bff8659b4709ed4f7205ce68df7fce0790e /sys/fs/ntfs/ntfs_inode.h | |
parent | c8cbbb76c7dbcc506d7786d8a80159d227b2cf4c (diff) | |
download | FreeBSD-src-42e01703dca788bba764956ba12647f3dcdd7ec9.zip FreeBSD-src-42e01703dca788bba764956ba12647f3dcdd7ec9.tar.gz |
Removed annoying messaged during boot,added some check
before mounting (should help to do not mount extended partitions:-).
Fixed problem with hanging while unmounting busy fs.
And (the most important) added some locks to prevent
simulaneous access to kernel structures!
Diffstat (limited to 'sys/fs/ntfs/ntfs_inode.h')
-rw-r--r-- | sys/fs/ntfs/ntfs_inode.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/fs/ntfs/ntfs_inode.h b/sys/fs/ntfs/ntfs_inode.h index 2e6fb78..bf1e26c 100644 --- a/sys/fs/ntfs/ntfs_inode.h +++ b/sys/fs/ntfs/ntfs_inode.h @@ -55,17 +55,18 @@ #define IN_PRELOADED 0x4000 /* loaded from directory entry */ struct ntnode { - LIST_ENTRY(ntnode) i_hash; + LIST_ENTRY(ntnode) i_hash; struct ntnode *i_next; struct ntnode **i_prev; - struct ntfsmount *i_mp; + struct ntfsmount *i_mp; ino_t i_number; dev_t i_dev; u_int32_t i_flag; + int i_lock; int i_usecount; - LIST_HEAD(,fnode) i_fnlist; - struct ntvattr *i_vattrp; /* ntvattrs list */ + LIST_HEAD(,fnode) i_fnlist; + LIST_HEAD(,ntvattr) i_valist; long i_nlink; /* MFR */ ino_t i_mainrec; /* MFR */ @@ -77,7 +78,7 @@ struct ntnode { }; #define FN_PRELOADED 0x0001 -#define FN_DEFAULT 0x0002 +#define FN_VALID 0x0002 #define FN_AATTRNAME 0x0004 /* space allocated for f_attrname */ struct fnode { struct lock f_lock; /* Must be first */ |