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.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index 93d59aceaaef..c2cf509e14db 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -762,6 +762,9 @@ struct ubifs_zbranch {
762 * @offs: offset of the corresponding indexing node 762 * @offs: offset of the corresponding indexing node
763 * @len: length of the corresponding indexing node 763 * @len: length of the corresponding indexing node
764 * @zbranch: array of znode branches (@c->fanout elements) 764 * @zbranch: array of znode branches (@c->fanout elements)
765 *
766 * Note! The @lnum, @offs, and @len fields are not really needed - we have them
767 * only for internal consistency check. They could be removed to save some RAM.
765 */ 768 */
766struct ubifs_znode { 769struct ubifs_znode {
767 struct ubifs_znode *parent; 770 struct ubifs_znode *parent;
@@ -772,9 +775,9 @@ struct ubifs_znode {
772 int child_cnt; 775 int child_cnt;
773 int iip; 776 int iip;
774 int alt; 777 int alt;
775#ifdef CONFIG_UBIFS_FS_DEBUG 778 int lnum;
776 int lnum, offs, len; 779 int offs;
777#endif 780 int len;
778 struct ubifs_zbranch zbranch[]; 781 struct ubifs_zbranch zbranch[];
779}; 782};
780 783
@@ -1444,9 +1447,7 @@ struct ubifs_info {
1444 struct rb_root size_tree; 1447 struct rb_root size_tree;
1445 struct ubifs_mount_opts mount_opts; 1448 struct ubifs_mount_opts mount_opts;
1446 1449
1447#ifdef CONFIG_UBIFS_FS_DEBUG
1448 struct ubifs_debug_info *dbg; 1450 struct ubifs_debug_info *dbg;
1449#endif
1450}; 1451};
1451 1452
1452extern struct list_head ubifs_infos; 1453extern struct list_head ubifs_infos;