Revert "Escape NTFS labels properly"
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 774e8353e7753d118b449310c03d9f811cef7c3a.

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

index 5017b58..ec826fc 100644 (file)
@@ -101,8 +101,6 @@ main (int argc,
     }
   else if (strcmp (fstype, "ntfs") == 0)
     {
-      if (!validate_and_escape_label (&new_label, 128))
-        goto out;
       command_line = g_strdup_printf ("ntfslabel %s \"%s\"", device, new_label);
     }
   else if (strcmp (fstype, "nilfs2") == 0)