Gitweb:
http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=638f3cd5...
Commit: 638f3cd5b541dc5952651d696e26cd8a8abd27c1
Parent: b675ddeb26172a96277e21f6d2663f4d1ddb9a0a
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Sun Feb 16 20:07:05 2014 +0000
Committer: Andrew Price <anprice(a)redhat.com>
CommitterDate: Sun Feb 16 20:07:05 2014 +0000
mkfs.gfs2: Remove a dead structure
struct mkfs_rgs has not been used since the new rgrp functions were
added to libgfs2. Remove it.
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
gfs2/mkfs/main_mkfs.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/gfs2/mkfs/main_mkfs.c b/gfs2/mkfs/main_mkfs.c
index 32da585..e58de68 100644
--- a/gfs2/mkfs/main_mkfs.c
+++ b/gfs2/mkfs/main_mkfs.c
@@ -151,25 +151,6 @@ struct mkfs_dev {
unsigned int got_topol:1;
};
-/**
- * A representation of the state of resource group calculation. Allows mkfs to create
- * resource groups at any point instead of creating them all in one batch.
- */
-struct mkfs_rgs {
- struct osi_root *root;
- uint64_t nextaddr;
- unsigned bsize;
- unsigned long align;
- unsigned long align_off;
- unsigned long curr_offset;
- uint64_t maxrgsz;
- uint64_t minrgsz;
- uint64_t devlen;
- uint64_t rgsize;
- uint64_t count;
- uint64_t blks_total;
-};
-
static void opts_init(struct mkfs_opts *opts)
{
memset(opts, 0, sizeof(*opts));