Skip to content
Snippets Groups Projects
Commit c80b1cd8 authored by Yang Sheng's avatar Yang Sheng
Browse files

Branch b1_6

b=16373
i=zhenyu.xu, shengyang

Search for ":/" instead of ":"
parent f2ca79a9
No related branches found
No related tags found
No related merge requests found
...@@ -582,7 +582,8 @@ int main(int argc, char *const argv[]) ...@@ -582,7 +582,8 @@ int main(int argc, char *const argv[])
printf("mounting device %s at %s, flags=%#x options=%s\n", printf("mounting device %s at %s, flags=%#x options=%s\n",
source, target, flags, optcopy); source, target, flags, optcopy);
if (set_tunables(source, strlen(source)) && verbose) if (!strstr(usource, ":/") && set_tunables(source, strlen(source)) &&
verbose)
fprintf(stderr, "%s: unable to set tunables for %s" fprintf(stderr, "%s: unable to set tunables for %s"
" (may cause reduced IO performance)\n", " (may cause reduced IO performance)\n",
argv[0], source); argv[0], source);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment