diff options
Diffstat (limited to 'fs/ubifs/debug.h')
-rw-r--r-- | fs/ubifs/debug.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h index e6493cac193d..6b5fe7ba0296 100644 --- a/fs/ubifs/debug.h +++ b/fs/ubifs/debug.h | |||
@@ -50,7 +50,9 @@ typedef int (*dbg_znode_callback)(struct ubifs_info *c, | |||
50 | * @new_ihead_offs: used by debugging to check @c->ihead_offs | 50 | * @new_ihead_offs: used by debugging to check @c->ihead_offs |
51 | * | 51 | * |
52 | * @saved_lst: saved lprops statistics (used by 'dbg_save_space_info()') | 52 | * @saved_lst: saved lprops statistics (used by 'dbg_save_space_info()') |
53 | * @saved_free: saved free space (used by 'dbg_save_space_info()') | 53 | * @saved_bi: saved budgeting information |
54 | * @saved_free: saved amount of free space | ||
55 | * @saved_idx_gc_cnt: saved value of @c->idx_gc_cnt | ||
54 | * | 56 | * |
55 | * dfs_dir_name: name of debugfs directory containing this file-system's files | 57 | * dfs_dir_name: name of debugfs directory containing this file-system's files |
56 | * dfs_dir: direntry object of the file-system debugfs directory | 58 | * dfs_dir: direntry object of the file-system debugfs directory |
@@ -76,7 +78,9 @@ struct ubifs_debug_info { | |||
76 | int new_ihead_offs; | 78 | int new_ihead_offs; |
77 | 79 | ||
78 | struct ubifs_lp_stats saved_lst; | 80 | struct ubifs_lp_stats saved_lst; |
81 | struct ubifs_budg_info saved_bi; | ||
79 | long long saved_free; | 82 | long long saved_free; |
83 | int saved_idx_gc_cnt; | ||
80 | 84 | ||
81 | char dfs_dir_name[100]; | 85 | char dfs_dir_name[100]; |
82 | struct dentry *dfs_dir; | 86 | struct dentry *dfs_dir; |
@@ -262,7 +266,7 @@ void dbg_dump_lpt_node(const struct ubifs_info *c, void *node, int lnum, | |||
262 | int offs); | 266 | int offs); |
263 | void dbg_dump_budget_req(const struct ubifs_budget_req *req); | 267 | void dbg_dump_budget_req(const struct ubifs_budget_req *req); |
264 | void dbg_dump_lstats(const struct ubifs_lp_stats *lst); | 268 | void dbg_dump_lstats(const struct ubifs_lp_stats *lst); |
265 | void dbg_dump_budg(struct ubifs_info *c); | 269 | void dbg_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi); |
266 | void dbg_dump_lprop(const struct ubifs_info *c, const struct ubifs_lprops *lp); | 270 | void dbg_dump_lprop(const struct ubifs_info *c, const struct ubifs_lprops *lp); |
267 | void dbg_dump_lprops(struct ubifs_info *c); | 271 | void dbg_dump_lprops(struct ubifs_info *c); |
268 | void dbg_dump_lpt_info(struct ubifs_info *c); | 272 | void dbg_dump_lpt_info(struct ubifs_info *c); |
@@ -420,7 +424,9 @@ static inline void | |||
420 | dbg_dump_budget_req(const struct ubifs_budget_req *req) { return; } | 424 | dbg_dump_budget_req(const struct ubifs_budget_req *req) { return; } |
421 | static inline void | 425 | static inline void |
422 | dbg_dump_lstats(const struct ubifs_lp_stats *lst) { return; } | 426 | dbg_dump_lstats(const struct ubifs_lp_stats *lst) { return; } |
423 | static inline void dbg_dump_budg(struct ubifs_info *c) { return; } | 427 | static inline void |
428 | dbg_dump_budg(struct ubifs_info *c, | ||
429 | const struct ubifs_budg_info *bi) { return; } | ||
424 | static inline void dbg_dump_lprop(const struct ubifs_info *c, | 430 | static inline void dbg_dump_lprop(const struct ubifs_info *c, |
425 | const struct ubifs_lprops *lp) { return; } | 431 | const struct ubifs_lprops *lp) { return; } |
426 | static inline void dbg_dump_lprops(struct ubifs_info *c) { return; } | 432 | static inline void dbg_dump_lprops(struct ubifs_info *c) { return; } |