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

Branch HEAD

b=16373
i=zhenyu.xu, shengyang

Search for ":/" instead of ":"
parent e8e909ad
No related branches found
No related tags found
No related merge requests found
......@@ -583,7 +583,8 @@ int main(int argc, char *const argv[])
printf("mounting device %s at %s, flags=%#x options=%s\n",
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"
" (may cause reduced IO performance)\n",
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