projects
/
platform
/
upstream
/
udisks2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df95927
)
Revert "udisks: fix a bug of unquoted/unescaped label string"
author
David Zeuthen
<davidz@redhat.com>
Fri, 26 Aug 2011 17:09:41 +0000
(13:09 -0400)
committer
David 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
patch
|
blob
|
history
diff --git
a/src/helpers/job-change-filesystem-label.c
b/src/helpers/job-change-filesystem-label.c
index
ec826fc
..
bdb28c6
100644
(file)
--- 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
{