diff options
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | 2009-01-26 03:55:40 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-26 05:54:11 -0500 |
commit | 49d128aa60751a010640f4763d11577e2f508853 (patch) | |
tree | e74af898443112bf1e323e019b6c1a74f7e5d415 /fs/ubifs/ubifs.h | |
parent | b4978e949104844224ecf786170c9263efa601f3 (diff) |
UBIFS: ensure orphan area head is initialized
When mounting read-only the orphan area head is
not initialized. It must be initialized when
remounting read/write, but it was not. This patch
fixes that.
[Artem: sorry, added comment tweaking noise]
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r-- | fs/ubifs/ubifs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index f1754354029f..9999ff0aaa43 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h | |||
@@ -1604,6 +1604,7 @@ void ubifs_delete_orphan(struct ubifs_info *c, ino_t inum); | |||
1604 | int ubifs_orphan_start_commit(struct ubifs_info *c); | 1604 | int ubifs_orphan_start_commit(struct ubifs_info *c); |
1605 | int ubifs_orphan_end_commit(struct ubifs_info *c); | 1605 | int ubifs_orphan_end_commit(struct ubifs_info *c); |
1606 | int ubifs_mount_orphans(struct ubifs_info *c, int unclean, int read_only); | 1606 | int ubifs_mount_orphans(struct ubifs_info *c, int unclean, int read_only); |
1607 | int ubifs_clear_orphans(struct ubifs_info *c); | ||
1607 | 1608 | ||
1608 | /* lpt.c */ | 1609 | /* lpt.c */ |
1609 | int ubifs_calc_lpt_geom(struct ubifs_info *c); | 1610 | int ubifs_calc_lpt_geom(struct ubifs_info *c); |