aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2008-01-28 12:15:57 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 05:39:52 -0400
commitca390601a8bbb4ab8301a9469d23cdb1cf77e7cb (patch)
treedb76913358aa21accdefc33ac8bcb8b7b22d0568 /fs
parentfe6c991c52a0dd07d4a19d392fd65048226cb1bc (diff)
[GFS2] Fix debug inode printing
I noticed that the latest change to i_height got rid of the value from the inode dump. This patch adds it back. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index ff66ab7a17c8..db5961a9aa59 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. 3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
4 * 4 *
5 * This copyrighted material is made available to anyone wishing to use, 5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions 6 * modify, copy, or redistribute it subject to the terms and conditions
@@ -1435,6 +1435,7 @@ void gfs2_dinode_print(const struct gfs2_inode *ip)
1435 printk(KERN_INFO " di_goal_data = %llu\n", 1435 printk(KERN_INFO " di_goal_data = %llu\n",
1436 (unsigned long long)di->di_goal_data); 1436 (unsigned long long)di->di_goal_data);
1437 printk(KERN_INFO " di_flags = 0x%.8X\n", di->di_flags); 1437 printk(KERN_INFO " di_flags = 0x%.8X\n", di->di_flags);
1438 printk(KERN_INFO " i_height = %u\n", ip->i_height);
1438 printk(KERN_INFO " di_depth = %u\n", di->di_depth); 1439 printk(KERN_INFO " di_depth = %u\n", di->di_depth);
1439 printk(KERN_INFO " di_entries = %u\n", di->di_entries); 1440 printk(KERN_INFO " di_entries = %u\n", di->di_entries);
1440 printk(KERN_INFO " di_eattr = %llu\n", 1441 printk(KERN_INFO " di_eattr = %llu\n",