libgfs2: Remove struct gfs_rindex from header, etc
>From 68d716d56f92c413303ac5923ae9b720a6817413 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <swhiteho@redhat.com>
Date: Wed, 21 Dec 2011 14:09:03 +0000
Subject: [PATCH] libgfs2: Remove struct gfs_rindex from header, etc
Since struct gfs_rindex is identical to gfs2_rindex, we don't
really need two structures. It was used in two places. Once
to define an unused member of a union with a gfs2_rindex and
once to define a buffer size (which I think was a mistake anyway
since the buffer contains a struct gfs2_rindex anyway.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
diff --git a/gfs2/edit/extended.c b/gfs2/edit/extended.c
index a6e4139..7fd770f 100644
--- a/gfs2/edit/extended.c
+++ b/gfs2/edit/extended.c
@@ -500,7 +500,7 @@ static int parse_rindex(struct gfs2_inode *dip, int print_rindex)
{
int error, start_line;
struct gfs2_rindex ri;
- char rbuf[sizeof(struct gfs_rindex)];
+ char rbuf[sizeof(struct gfs2_rindex)];
char highlighted_addr[32];