summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs/ntfs.h
diff options
context:
space:
mode:
authorsemenu <semenu@FreeBSD.org>1999-04-20 21:06:44 +0000
committersemenu <semenu@FreeBSD.org>1999-04-20 21:06:44 +0000
commit42e01703dca788bba764956ba12647f3dcdd7ec9 (patch)
tree94575bff8659b4709ed4f7205ce68df7fce0790e /sys/fs/ntfs/ntfs.h
parentc8cbbb76c7dbcc506d7786d8a80159d227b2cf4c (diff)
downloadFreeBSD-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.h')
-rw-r--r--sys/fs/ntfs/ntfs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/fs/ntfs/ntfs.h b/sys/fs/ntfs/ntfs.h
index e2bda5e..e9fa1b3 100644
--- a/sys/fs/ntfs/ntfs.h
+++ b/sys/fs/ntfs/ntfs.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ntfs.h,v 1.2 1999/02/19 12:31:02 semenu Exp $
+ * $Id: ntfs.h,v 1.9 1999/02/02 01:54:54 semen Exp $
*/
/*#define NTFS_DEBUG 1*/
@@ -213,6 +213,8 @@ struct ntvattrdef {
u_int32_t ad_type;
};
+#define NTFS_BBID "NTFS "
+#define NTFS_BBIDLEN 8
struct bootfile {
u_int8_t reserved1[3]; /* asm jmp near ... */
u_int8_t bf_sysid[8]; /* 'NTFS ' */
@@ -246,6 +248,7 @@ struct ntfsmount {
gid_t ntm_gid;
mode_t ntm_mode;
u_long ntm_flag;
+ cn_t ntm_cfree;
struct ntvattrdef *ntm_ad;
int ntm_adnum;
};
OpenPOWER on IntegriCloud