aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2009-01-29 05:59:33 -0500
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-29 09:19:36 -0500
commitb466f17d780c5b72427f36aef22ecdec9f1d0689 (patch)
tree09346513db7a7563f9a79ec0e6ec56b8536fabe9 /fs/ubifs/ubifs.h
parent227c75c91dbfa037d109ab7ef45b7f5ba9cab6d0 (diff)
UBIFS: remount ro fixes
- preserve the idx_gc list - it will be needed in the same state, should UBIFS be remounted rw again - prevent remounting ro if we have switched to read only mode (due to a fatal error) 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index 29dfa816077..535f8742679 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -1594,7 +1594,7 @@ int ubifs_replay_journal(struct ubifs_info *c);
1594int ubifs_garbage_collect(struct ubifs_info *c, int anyway); 1594int ubifs_garbage_collect(struct ubifs_info *c, int anyway);
1595int ubifs_gc_start_commit(struct ubifs_info *c); 1595int ubifs_gc_start_commit(struct ubifs_info *c);
1596int ubifs_gc_end_commit(struct ubifs_info *c); 1596int ubifs_gc_end_commit(struct ubifs_info *c);
1597int ubifs_destroy_idx_gc(struct ubifs_info *c); 1597void ubifs_destroy_idx_gc(struct ubifs_info *c);
1598int ubifs_get_idx_gc_leb(struct ubifs_info *c); 1598int ubifs_get_idx_gc_leb(struct ubifs_info *c);
1599int ubifs_garbage_collect_leb(struct ubifs_info *c, struct ubifs_lprops *lp); 1599int ubifs_garbage_collect_leb(struct ubifs_info *c, struct ubifs_lprops *lp);
1600 1600