From: David Zeuthen Date: Fri, 26 Aug 2011 17:09:41 +0000 (-0400) Subject: Revert "udisks: fix a bug of unquoted/unescaped label string" X-Git-Tag: upstream/2.1.2~494 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=908cb4f07f0bdcba1cd54a792a0f421934c86bfc;p=platform%2Fupstream%2Fudisks2.git Revert "udisks: fix a bug of unquoted/unescaped label string" This reverts commit 0b4189b6d34d9ad1318381410e0d27edd10b7c62. --- 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 {