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.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index 49b06c9f675a..a7bd32fa15b9 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -943,7 +943,6 @@ struct ubifs_mount_opts {
943 * 943 *
944 * @fast_unmount: do not run journal commit before un-mounting 944 * @fast_unmount: do not run journal commit before un-mounting
945 * @big_lpt: flag that LPT is too big to write whole during commit 945 * @big_lpt: flag that LPT is too big to write whole during commit
946 * @check_lpt_free: flag that indicates LPT GC may be needed
947 * @no_chk_data_crc: do not check CRCs when reading data nodes (except during 946 * @no_chk_data_crc: do not check CRCs when reading data nodes (except during
948 * recovery) 947 * recovery)
949 * @bulk_read: enable bulk-reads 948 * @bulk_read: enable bulk-reads
@@ -1102,6 +1101,7 @@ struct ubifs_mount_opts {
1102 * @lpt_drty_flgs: dirty flags for LPT special nodes e.g. ltab 1101 * @lpt_drty_flgs: dirty flags for LPT special nodes e.g. ltab
1103 * @dirty_nn_cnt: number of dirty nnodes 1102 * @dirty_nn_cnt: number of dirty nnodes
1104 * @dirty_pn_cnt: number of dirty pnodes 1103 * @dirty_pn_cnt: number of dirty pnodes
1104 * @check_lpt_free: flag that indicates LPT GC may be needed
1105 * @lpt_sz: LPT size 1105 * @lpt_sz: LPT size
1106 * @lpt_nod_buf: buffer for an on-flash nnode or pnode 1106 * @lpt_nod_buf: buffer for an on-flash nnode or pnode
1107 * @lpt_buf: buffer of LEB size used by LPT 1107 * @lpt_buf: buffer of LEB size used by LPT
@@ -1191,7 +1191,6 @@ struct ubifs_info {
1191 1191
1192 unsigned int fast_unmount:1; 1192 unsigned int fast_unmount:1;
1193 unsigned int big_lpt:1; 1193 unsigned int big_lpt:1;
1194 unsigned int check_lpt_free:1;
1195 unsigned int no_chk_data_crc:1; 1194 unsigned int no_chk_data_crc:1;
1196 unsigned int bulk_read:1; 1195 unsigned int bulk_read:1;
1197 1196
@@ -1340,6 +1339,7 @@ struct ubifs_info {
1340 int lpt_drty_flgs; 1339 int lpt_drty_flgs;
1341 int dirty_nn_cnt; 1340 int dirty_nn_cnt;
1342 int dirty_pn_cnt; 1341 int dirty_pn_cnt;
1342 int check_lpt_free;
1343 long long lpt_sz; 1343 long long lpt_sz;
1344 void *lpt_nod_buf; 1344 void *lpt_nod_buf;
1345 void *lpt_buf; 1345 void *lpt_buf;
@@ -1394,6 +1394,12 @@ struct ubifs_info {
1394 unsigned long fail_timeout; 1394 unsigned long fail_timeout;
1395 unsigned int fail_cnt; 1395 unsigned int fail_cnt;
1396 unsigned int fail_cnt_max; 1396 unsigned int fail_cnt_max;
1397 long long chk_lpt_sz;
1398 long long chk_lpt_sz2;
1399 long long chk_lpt_wastage;
1400 int chk_lpt_lebs;
1401 int new_nhead_lnum;
1402 int new_nhead_offs;
1397#endif 1403#endif
1398}; 1404};
1399 1405