aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-08 07:26:47 -0500
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-11 03:52:07 -0500
commit6342aaebda9b94e3cd101ba13eee690ac6577124 (patch)
tree349acb9c1fdb7c990273afc16a661686845a54ff /fs/ubifs
parentd882962f6af2b484b62a7fb05ef959e1bf355fc4 (diff)
UBIFS: print max. index node size
Improve debugging messages by printing the maximum index node size on mount. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index e360c7a71f9e..e9585ad90f5e 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -1447,9 +1447,9 @@ static int mount_ubifs(struct ubifs_info *c)
1447 UBIFS_TRUN_NODE_SZ, UBIFS_SB_NODE_SZ, UBIFS_MST_NODE_SZ); 1447 UBIFS_TRUN_NODE_SZ, UBIFS_SB_NODE_SZ, UBIFS_MST_NODE_SZ);
1448 dbg_msg("node sizes: ref %zu, cmt. start %zu, orph %zu", 1448 dbg_msg("node sizes: ref %zu, cmt. start %zu, orph %zu",
1449 UBIFS_REF_NODE_SZ, UBIFS_CS_NODE_SZ, UBIFS_ORPH_NODE_SZ); 1449 UBIFS_REF_NODE_SZ, UBIFS_CS_NODE_SZ, UBIFS_ORPH_NODE_SZ);
1450 dbg_msg("max. node sizes: data %zu, inode %zu dentry %zu", 1450 dbg_msg("max. node sizes: data %zu, inode %zu dentry %zu, idx %d",
1451 UBIFS_MAX_DATA_NODE_SZ, UBIFS_MAX_INO_NODE_SZ, 1451 UBIFS_MAX_DATA_NODE_SZ, UBIFS_MAX_INO_NODE_SZ,
1452 UBIFS_MAX_DENT_NODE_SZ); 1452 UBIFS_MAX_DENT_NODE_SZ, ubifs_idx_node_sz(c, c->fanout));
1453 dbg_msg("dead watermark: %d", c->dead_wm); 1453 dbg_msg("dead watermark: %d", c->dead_wm);
1454 dbg_msg("dark watermark: %d", c->dark_wm); 1454 dbg_msg("dark watermark: %d", c->dark_wm);
1455 dbg_msg("LEB overhead: %d", c->leb_overhead); 1455 dbg_msg("LEB overhead: %d", c->leb_overhead);