xfs
[Top] [All Lists]

[PATCH 4/9] xfsdump: remove pointless if (dirty);

To: xfs@xxxxxxxxxxx
Subject: [PATCH 4/9] xfsdump: remove pointless if (dirty);
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Wed, 12 Nov 2014 12:57:13 -0600
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1415818638-32700-1-git-send-email-sandeen@xxxxxxxxxx>
References: <1415818638-32700-1-git-send-email-sandeen@xxxxxxxxxx>
"dirty" seems to be a remnant of unfinished code; other bits of
it are there but commented out, so comment out "if (dirty);" as
well, which is a no-op if statement which can't be true.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---
 inventory/inv_stobj.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/inventory/inv_stobj.c b/inventory/inv_stobj.c
index becac17..84b15d9 100644
--- a/inventory/inv_stobj.c
+++ b/inventory/inv_stobj.c
@@ -976,7 +976,9 @@ stobj_delete_mobj(int fd,
 
                }
                free ( mfiles );
+/*
                if ( dirty );
+*/
        }
 
        free ( strms );
-- 
1.7.1

<Prev in Thread] Current Thread [Next in Thread>