Commit f5de856b authored by Anton Altaparmakov's avatar Anton Altaparmakov

NTFS: Convert final enum (fs/ntfs/logfile.h) to define to silence last

      bitwise sparse warning.
Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
parent c43ba733
...@@ -111,10 +111,9 @@ typedef struct { ...@@ -111,10 +111,9 @@ typedef struct {
* These are the so far known RESTART_AREA_* flags (16-bit) which contain * These are the so far known RESTART_AREA_* flags (16-bit) which contain
* information about the log file in which they are present. * information about the log file in which they are present.
*/ */
typedef enum { #define RESTART_VOLUME_IS_CLEAN const_cpu_to_le16(0x0002)
RESTART_VOLUME_IS_CLEAN = const_cpu_to_le16(0x0002),
REST_AREA_SPACE_FILLER = 0xffff /* Just to make flags 16-bit. */ typedef le16 RESTART_AREA_FLAGS;
} __attribute__ ((__packed__)) RESTART_AREA_FLAGS;
/* /*
* Log file restart area record. The offset of this record is found by adding * Log file restart area record. The offset of this record is found by adding
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment