diff options
Diffstat (limited to 'fs/ntfs/layout.h')
-rw-r--r-- | fs/ntfs/layout.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/fs/ntfs/layout.h b/fs/ntfs/layout.h index 458cb541d4dd..03c3e8612e7c 100644 --- a/fs/ntfs/layout.h +++ b/fs/ntfs/layout.h | |||
@@ -936,20 +936,12 @@ typedef struct { | |||
936 | /* 56*/ le64 quota_charged; /* Byte size of the charge to | 936 | /* 56*/ le64 quota_charged; /* Byte size of the charge to |
937 | the quota for all streams of the file. Note: Is | 937 | the quota for all streams of the file. Note: Is |
938 | zero if quotas are disabled. */ | 938 | zero if quotas are disabled. */ |
939 | /* 64*/ le64 usn; /* Last update sequence number | 939 | /* 64*/ USN usn; /* Last update sequence number |
940 | of the file. This is a direct index into the | 940 | of the file. This is a direct index into the |
941 | change (aka usn) journal file. It is zero if | 941 | transaction log file ($UsnJrnl). It is zero if |
942 | the usn journal is disabled. | 942 | the usn journal is disabled or this file has |
943 | NOTE: To disable the journal need to delete | 943 | not been subject to logging yet. See usnjrnl.h |
944 | the journal file itself and to then walk the | 944 | for details. */ |
945 | whole mft and set all Usn entries in all mft | ||
946 | records to zero! (This can take a while!) | ||
947 | The journal is FILE_Extend/$UsnJrnl. Win2k | ||
948 | will recreate the journal and initiate | ||
949 | logging if necessary when mounting the | ||
950 | partition. This, in contrast to disabling the | ||
951 | journal is a very fast process, so the user | ||
952 | won't even notice it. */ | ||
953 | } __attribute__ ((__packed__)) v3; | 945 | } __attribute__ ((__packed__)) v3; |
954 | /* sizeof() = 72 bytes (NTFS 3.x) */ | 946 | /* sizeof() = 72 bytes (NTFS 3.x) */ |
955 | } __attribute__ ((__packed__)) ver; | 947 | } __attribute__ ((__packed__)) ver; |
@@ -1912,7 +1904,7 @@ enum { | |||
1912 | VOLUME_FLAGS_MASK = const_cpu_to_le16(0x803f), | 1904 | VOLUME_FLAGS_MASK = const_cpu_to_le16(0x803f), |
1913 | 1905 | ||
1914 | /* To make our life easier when checking if we must mount read-only. */ | 1906 | /* To make our life easier when checking if we must mount read-only. */ |
1915 | VOLUME_MUST_MOUNT_RO_MASK = const_cpu_to_le16(0x8037), | 1907 | VOLUME_MUST_MOUNT_RO_MASK = const_cpu_to_le16(0x8027), |
1916 | } __attribute__ ((__packed__)); | 1908 | } __attribute__ ((__packed__)); |
1917 | 1909 | ||
1918 | typedef le16 VOLUME_FLAGS; | 1910 | typedef le16 VOLUME_FLAGS; |