patch-2.2.6 linux/fs/ntfs/ntfstypes.h
Next file: linux/fs/ntfs/super.c
Previous file: linux/fs/ntfs/ntfsendian.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Apr 12 10:05:58 1999
- Orig file:
v2.2.5/linux/fs/ntfs/ntfstypes.h
- Orig date:
Mon Jan 4 15:08:17 1999
diff -u --recursive --new-file v2.2.5/linux/fs/ntfs/ntfstypes.h linux/fs/ntfs/ntfstypes.h
@@ -1,12 +1,12 @@
/*
- * types.h
+ * ntfstypes.h
* This file defines four things:
* - generic platform independent fixed-size types (e.g. ntfs_u32)
* - specific fixed-size types (e.g. ntfs_offset_t)
* - macros that read and write those types from and to byte arrays
* - types derived from OS specific ones
*
- * Copyright (C) 1996,1998 Martin von Löwis
+ * Copyright (C) 1996,1998, 1999 Martin von Löwis
*/
#ifdef NTFS_IN_LINUX_KERNEL
@@ -52,6 +52,10 @@
#ifndef NTFS_CLUSTER_T
#define NTFS_CLUSTER_T
typedef u32 ntfs_cluster_t;
+#endif
+
+#ifndef MAX_CLUSTER_T
+#define MAX_CLUSTER_T (~((ntfs_cluster_t)0))
#endif
/* architecture independent macros */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)