Revert "udisks: fix a bug of unquoted/unescaped label string"
authorDavid Zeuthen <davidz@redhat.com>
Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)
This reverts commit 0b4189b6d34d9ad1318381410e0d27edd10b7c62.

src/helpers/job-change-filesystem-label.c

index ec826fc..bdb28c6 100644 (file)
@@ -105,9 +105,7 @@ main (int argc,
     }
   else if (strcmp (fstype, "nilfs2") == 0)
     {
-      if (!validate_and_escape_label (&new_label, 80))
-        goto out;
-      command_line = g_strdup_printf ("nilfs-tune -L \"%s\" %s", new_label, device);
+      command_line = g_strdup_printf ("nilfs-tune -L %s \"%s\"", new_label, device);
     }
   else
     {