Skip to contentSkip to conversation

libgfs2: move block_map functions to fsck.gfs2

PATCH New Bob Peterson 1 participant 1 message Aug 11, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 35/44 libgfs2: move block_map functions to fsck.gfs2

From 83fd3a6dd7abf86de7c670fe4a869dff1ddd8582 Mon Sep 17 00:00:00 2001
From: Bob Peterson <[email protected]>
Date: Wed, 10 Aug 2011 13:12:54 -0500
Subject: [PATCH 35/44] libgfs2: move block_map functions to fsck.gfs2

Since the "blockmap" functions were only used in fsck.gfs2 they don't have a place in libgfs2. This patch moves them to fsck.gfs2.

rhbz#675723

---
 gfs2/fsck/metawalk.h      |    2 +
 gfs2/fsck/util.c          |   72 ++++++++++++++++++++++++++++++++++++++
 gfs2/fsck/util.h          |   84 +++++++++++++++++++++++++++++++++++++++++++++
 gfs2/libgfs2/block_list.c |   72 --------------------------------------
 gfs2/libgfs2/libgfs2.h    |   82 -------------------------------------------
 5 files changed, 158 insertions(+), 154 deletions(-)
gfs2/fsck/metawalk.h +2 -0
index 719bbd9..e114427 100644
@@ -4,6 +4,8 @@
 #define DIR_LINEAR 1
 #define DIR_EXHASH 2
 
+#include "util.h"
+
 struct metawalk_fxns;
 
 extern int check_inode_eattr(struct gfs2_inode *ip,
gfs2/fsck/util.c +72 -0

75 lines not on this page · raw message

gfs2/fsck/util.h +84 -0

88 lines not on this page · raw message

gfs2/libgfs2/block_list.c +0 -72

81 lines not on this page · raw message

gfs2/libgfs2/libgfs2.h +0 -82

94 lines not on this page · raw message

Signature · 1 line
1.7.4.4