From 42e01703dca788bba764956ba12647f3dcdd7ec9 Mon Sep 17 00:00:00 2001 From: semenu Date: Tue, 20 Apr 1999 21:06:44 +0000 Subject: 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! --- sys/fs/ntfs/ntfs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/fs/ntfs/ntfs.h') 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; }; -- cgit v1.1