[PATCH 04/48] [GFS2] Fix debug inode printing

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: swhiteho
Date: Thursday, April 17, 2008 - 1:38 am

From: Bob Peterson <rpeterso@redhat.com>

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>

diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index ff66ab7..db5961a 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved.
- * Copyright (C) 2004-2006 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2004-2008 Red Hat, Inc.  All rights reserved.
  *
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
@@ -1435,6 +1435,7 @@ void gfs2_dinode_print(const struct gfs2_inode *ip)
 	printk(KERN_INFO "  di_goal_data = %llu\n",
 	       (unsigned long long)di->di_goal_data);
 	printk(KERN_INFO "  di_flags = 0x%.8X\n", di->di_flags);
+	printk(KERN_INFO "  i_height = %u\n", ip->i_height);
 	printk(KERN_INFO "  di_depth = %u\n", di->di_depth);
 	printk(KERN_INFO "  di_entries = %u\n", di->di_entries);
 	printk(KERN_INFO "  di_eattr = %llu\n",
-- 
1.5.1.2

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 04/48] [GFS2] Fix debug inode printing, swhiteho, (Thu Apr 17, 1:38 am)
[PATCH 06/48] [GFS2] Misc fixups, swhiteho, (Thu Apr 17, 1:38 am)
[PATCH 09/48] [GFS2] Plug an unlikely leak, swhiteho, (Thu Apr 17, 1:38 am)
[PATCH 12/48] [GFS2] Get rid of gl_waiters2, swhiteho, (Thu Apr 17, 1:38 am)
[PATCH 16/48] [GFS2] Eliminate gl_req_bh, swhiteho, (Thu Apr 17, 1:38 am)
[PATCH 19/48] [GFS2] Shrink &amp; rename di_depth, swhiteho, (Thu Apr 17, 1:38 am)
[PATCH 20/48] [GFS2] Remove unused counters, swhiteho, (Thu Apr 17, 1:38 am)
[PATCH 31/48] [GFS2] be*_add_cpu conversion, swhiteho, (Thu Apr 17, 1:39 am)
[PATCH 37/48] [GFS2] remove gfs2_dev_iops, swhiteho, (Thu Apr 17, 1:39 am)
[PATCH 38/48] [GFS2] re-support special inode, swhiteho, (Thu Apr 17, 1:39 am)
[PATCH 44/48] [GFS2] Faster gfs2_bitfit algorithm, swhiteho, (Thu Apr 17, 1:39 am)
Re: [PATCH 36/48] [GFS2] fix file_system_type leak on gfs2 ..., Christoph Hellwig, (Thu Apr 17, 4:58 am)