~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to tools/vgrename.c

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2013-03-03 12:33:47 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20130303123347-smfwei6dodkdth55
Tags: 2.02.98-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
        unlock_vg(cmd, vg_name_new);
178
178
        unlock_and_release_vg(cmd, vg, vg_name_old);
179
179
 
180
 
        log_print("Volume group \"%s\" successfully renamed to \"%s\"",
181
 
                  vg_name_old, vg_name_new);
 
180
        log_print_unless_silent("Volume group \"%s\" successfully renamed to \"%s\"",
 
181
                                vg_name_old, vg_name_new);
182
182
 
183
183
        /* FIXME lvmcache corruption - vginfo duplicated instead of renamed */
184
 
        persistent_filter_wipe(cmd->filter);
 
184
        if (cmd->filter->wipe)
 
185
                cmd->filter->wipe(cmd->filter);
185
186
        lvmcache_destroy(cmd, 1);
186
187
 
187
188
        return 1;