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-media.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-media.h')
-rw-r--r-- | fs/ubifs/ubifs-media.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/ubifs/ubifs-media.h b/fs/ubifs/ubifs-media.h index 3eee07e0c495..191ca7863fe7 100644 --- a/fs/ubifs/ubifs-media.h +++ b/fs/ubifs/ubifs-media.h | |||
@@ -135,6 +135,13 @@ | |||
135 | /* The key is always at the same position in all keyed nodes */ | 135 | /* The key is always at the same position in all keyed nodes */ |
136 | #define UBIFS_KEY_OFFSET offsetof(struct ubifs_ino_node, key) | 136 | #define UBIFS_KEY_OFFSET offsetof(struct ubifs_ino_node, key) |
137 | 137 | ||
138 | /* Garbage collector journal head number */ | ||
139 | #define UBIFS_GC_HEAD 0 | ||
140 | /* Base journal head number */ | ||
141 | #define UBIFS_BASE_HEAD 1 | ||
142 | /* Data journal head number */ | ||
143 | #define UBIFS_DATA_HEAD 2 | ||
144 | |||
138 | /* | 145 | /* |
139 | * LEB Properties Tree node types. | 146 | * LEB Properties Tree node types. |
140 | * | 147 | * |