Skip to contentSkip to conversation

[Cluster-devel] [GFS2 PATCH]

PATCH New Bob Peterson 2 participants 2 messages Jan 28, 2008 – Jan 29, 2008 GFS2 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [Cluster-devel] [GFS2 PATCH]

Hi,

I noticed that the latest change to i_height got rid of the value from the inode dump. This patch adds it back.

Regards,

Bob Peterson
Red Hat GFS

--

 fs/gfs2/inode.c       |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
fs/gfs2/inode.c +2 -1
index 084c741..11c5ce4 100644
@@ -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 lore raw

PATCH 1/1 [Cluster-devel] [GFS2 PATCH]

Hi,

Now in the -nmw tree. Thanks,

Steve.

Quoted 37 lines · Bob Peterson

Hi,

I noticed that the latest change to i_height got rid of the value from the inode dump. This patch adds it back.

Regards,

Bob Peterson
Red Hat GFS

--

 fs/gfs2/inode.c       |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
fs/gfs2/inode.c +2 -1
index 084c741..11c5ce4 100644
@@ -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",