diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-15 07:44:06 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-15 07:45:35 -0400 |
commit | d6d140097beb554daa967d3fb576e94ad2f82dcd (patch) | |
tree | b29f202923cd194f92cf896c3431509dddd26fee /fs/ubifs/ubifs.h | |
parent | 873a64c762f0c52cdf95dcee59bd416bbf9688e6 (diff) |
UBIFS: define journal head numbers in ubifs-media.h
The journal head names and numbers are part of the UBIFS format, so
they should be in the ubifs-media.h.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r-- | fs/ubifs/ubifs.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 9782e7cf8f2b..8ca441f5c7ea 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h | |||
@@ -105,12 +105,10 @@ | |||
105 | /* Number of non-data journal heads */ | 105 | /* Number of non-data journal heads */ |
106 | #define NONDATA_JHEADS_CNT 2 | 106 | #define NONDATA_JHEADS_CNT 2 |
107 | 107 | ||
108 | /* Garbage collector head */ | 108 | /* Shorter names for journal head numbers for internal usage */ |
109 | #define GCHD 0 | 109 | #define GCHD UBIFS_GC_HEAD |
110 | /* Base journal head number */ | 110 | #define BASEHD UBIFS_BASE_HEAD |
111 | #define BASEHD 1 | 111 | #define DATAHD UBIFS_DATA_HEAD |
112 | /* First "general purpose" journal head */ | ||
113 | #define DATAHD 2 | ||
114 | 112 | ||
115 | /* 'No change' value for 'ubifs_change_lp()' */ | 113 | /* 'No change' value for 'ubifs_change_lp()' */ |
116 | #define LPROPS_NC 0x80000001 | 114 | #define LPROPS_NC 0x80000001 |