aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r--fs/ubifs/ubifs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index c4dc9b18f73e..f47ebb442d1c 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -1032,6 +1032,7 @@ struct ubifs_debug_info;
1032 * @max_leb_cnt: maximum count of logical eraseblocks 1032 * @max_leb_cnt: maximum count of logical eraseblocks
1033 * @old_leb_cnt: count of logical eraseblocks before re-size 1033 * @old_leb_cnt: count of logical eraseblocks before re-size
1034 * @ro_media: the underlying UBI volume is read-only 1034 * @ro_media: the underlying UBI volume is read-only
1035 * @ro_error: UBIFS switched to R/O mode because an error happened
1035 * 1036 *
1036 * @dirty_pg_cnt: number of dirty pages (not used) 1037 * @dirty_pg_cnt: number of dirty pages (not used)
1037 * @dirty_zn_cnt: number of dirty znodes 1038 * @dirty_zn_cnt: number of dirty znodes
@@ -1272,7 +1273,8 @@ struct ubifs_info {
1272 int leb_cnt; 1273 int leb_cnt;
1273 int max_leb_cnt; 1274 int max_leb_cnt;
1274 int old_leb_cnt; 1275 int old_leb_cnt;
1275 int ro_media; 1276 unsigned int ro_media:1;
1277 unsigned int ro_error:1;
1276 1278
1277 atomic_long_t dirty_pg_cnt; 1279 atomic_long_t dirty_pg_cnt;
1278 atomic_long_t dirty_zn_cnt; 1280 atomic_long_t dirty_zn_cnt;