FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 01-06-2012, 02:19 PM
Andrew Price
 
Default gfs2_edit: Remove a useless assignment

Spotted by coverity: Pointer "n" returned by "osi_prev(n)" is never used

Signed-off-by: Andrew Price <anprice@redhat.com>
---
gfs2/edit/savemeta.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/gfs2/edit/savemeta.c b/gfs2/edit/savemeta.c
index ed9a7b0..9f7b2eb 100644
--- a/gfs2/edit/savemeta.c
+++ b/gfs2/edit/savemeta.c
@@ -710,7 +710,6 @@ void savemeta(char *out_fn, int saveoption, int gziplevel)
slow = ri_update(&sbd, 0, &rgcount, &sane);
n = osi_last(&sbd.rgtree);
last_rgd = (struct rgrp_tree *)n;
- n = osi_prev(n);
fssize = last_rgd->ri.ri_addr + rgrp_size(last_rgd);
last_fs_block = fssize;
fssize *= sbd.bsize;
--
1.7.6.4
 

Thread Tools




All times are GMT. The time now is 06:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org