Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-7003 utils: must quote the value of the context option
[fs/lustre-release.git]
/
lustre
/
utils
/
mount_utils_ldiskfs.c
diff --git
a/lustre/utils/mount_utils_ldiskfs.c
b/lustre/utils/mount_utils_ldiskfs.c
index
1ce4aa1
..
54b62fe
100644
(file)
--- a/
lustre/utils/mount_utils_ldiskfs.c
+++ b/
lustre/utils/mount_utils_ldiskfs.c
@@
-553,8
+553,9
@@
static void append_unique(char *buf, char *prefix, char *key, char *val,
strscat(buf, key, maxbuflen);
if (val != NULL) {
- strscat(buf, "=", maxbuflen);
+ strscat(buf, "=
\"
", maxbuflen);
strscat(buf, val, maxbuflen);
+ strscat(buf, "\"", maxbuflen);
}
}
}