Before this patch, when a duplicate reference was added to the list,
function add_duplicate_ref would print out an info message that said:
This brings the total to: X duplicate references.
I found this message to be redundant and confusing. It's much more
clear to simply say:
This brings the total to: X references

rhbz#1257625
---
 gfs2/fsck/util.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gfs2/fsck/util.c b/gfs2/fsck/util.c
index a6a5cdc..b22abc6 100644
--- a/gfs2/fsck/util.c
+++ b/gfs2/fsck/util.c
@@ -402,8 +402,8 @@ int add_duplicate_ref(struct gfs2_inode *ip, uint64_t block,
        if (first)
                log_info( _("This is the original reference.\n"));
        else
-               log_info( _("This brings the total to: %d duplicate "
-                           "references\n"), dt->refs);
+               log_info( _("This brings the total to: %d references\n"),
+                         dt->refs);
        return meta_is_good;
 }
 
-- 
2.4.3

Reply via email to