added a lot of printk output to ease writing of emulator
[linux-2.4.21-pre4.git] / include / linux / ntfs_fs.h
1 #ifndef _LINUX_NTFS_FS_H
2 #define _LINUX_NTFS_FS_H
3
4 #include <asm/byteorder.h>
5
6 #define NTFS_SECTOR_BITS 9
7 #define NTFS_SECTOR_SIZE 512
8
9 /*
10  * Attribute flags (16-bit).
11  */
12 typedef enum {
13         ATTR_IS_COMPRESSED      = __constant_cpu_to_le16(0x0001),
14         ATTR_COMPRESSION_MASK   = __constant_cpu_to_le16(0x00ff),
15                                         /* Compression method mask. Also,
16                                          * first illegal value. */
17         ATTR_IS_ENCRYPTED       = __constant_cpu_to_le16(0x4000),
18         ATTR_IS_SPARSE          = __constant_cpu_to_le16(0x8000),
19 } __attribute__ ((__packed__)) ATTR_FLAGS;
20
21 /*
22  * The two zones from which to allocate clusters.
23  */
24 typedef enum {
25         MFT_ZONE,
26         DATA_ZONE
27 } NTFS_CLUSTER_ALLOCATION_ZONES;
28
29 #endif