cluster: RHEL6 - fsck.gfs2: Remove unused variable
Bob Peterson
rpeterso at fedoraproject.org
Tue May 21 12:24:15 UTC 2013
Gitweb: http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=47739c96de94d8de07ee1e8d92cf845d083cb422
Commit: 47739c96de94d8de07ee1e8d92cf845d083cb422
Parent: d2c1adbcd728fc611b59292e1ac7aca6699af5a2
Author: Bob Peterson <rpeterso at redhat.com>
AuthorDate: Tue May 14 15:00:22 2013 -0500
Committer: Bob Peterson <rpeterso at redhat.com>
CommitterDate: Fri May 17 15:30:51 2013 -0500
fsck.gfs2: Remove unused variable
This patch removes a variable that wasn't being used.
rhbz#902920
---
gfs2/fsck/pass1b.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/gfs2/fsck/pass1b.c b/gfs2/fsck/pass1b.c
index c7889f6..bf26c2c 100644
--- a/gfs2/fsck/pass1b.c
+++ b/gfs2/fsck/pass1b.c
@@ -144,7 +144,6 @@ static void resolve_dup_references(struct gfs2_sbd *sdp, struct duptree *dt,
enum dup_ref_type this_ref;
struct inode_info *ii;
int found_good_ref = 0;
- uint64_t dup_block;
uint8_t q;
osi_list_foreach_safe(tmp, ref_list, x) {
@@ -226,7 +225,6 @@ static void resolve_dup_references(struct gfs2_sbd *sdp, struct duptree *dt,
(unsigned long long)id->block_no,
(unsigned long long)id->block_no);
- dup_block = id->block_no;
ip = fsck_load_inode(sdp, id->block_no);
/* If we've already deleted this dinode, don't try to delete
it again. That could free blocks that used to be duplicate
More information about the cluster-commits
mailing list