From 908cb4f07f0bdcba1cd54a792a0f421934c86bfc Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Fri, 26 Aug 2011 13:09:41 -0400 Subject: [PATCH] Revert "udisks: fix a bug of unquoted/unescaped label string" This reverts commit 0b4189b6d34d9ad1318381410e0d27edd10b7c62. --- src/helpers/job-change-filesystem-label.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/helpers/job-change-filesystem-label.c b/src/helpers/job-change-filesystem-label.c index ec826fc..bdb28c6 100644 --- a/src/helpers/job-change-filesystem-label.c +++ b/src/helpers/job-change-filesystem-label.c @@ -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 { -- 2.7.4