From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Price Date: Mon, 17 Feb 2014 14:48:00 +0000 Subject: [Cluster-devel] [PATCH 4/4] mkfs.gfs2: Remove a dead structure In-Reply-To: <1392648480-5085-1-git-send-email-anprice@redhat.com> References: <1392648480-5085-1-git-send-email-anprice@redhat.com> Message-ID: <1392648480-5085-4-git-send-email-anprice@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit struct mkfs_rgs has not been used since the new rgrp functions were added to libgfs2. Remove it. Signed-off-by: Andrew Price --- gfs2/mkfs/main_mkfs.c | 19 ------------------- 1 file changed, 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)); -- 1.8.5.3