Apply lash_patch35 from vodz, which brings several nice size_optimizations.

This commit is contained in:
Eric Andersen
2002-04-06 05:17:57 +00:00
parent 50e4d660ac
commit fcffa2cc1a
6 changed files with 23 additions and 15 deletions

View File

@ -469,9 +469,8 @@ singlemount:
string_flags = xstrdup(string_flags);
rc = EXIT_SUCCESS;
#ifdef CONFIG_NFSMOUNT
if (strchr(device, ':') != NULL)
if (strchr(device, ':') != NULL) {
filesystemType = "nfs";
if (strcmp(filesystemType, "nfs") == 0) {
if (nfsmount (device, directory, &flags, &extra_opts,
&string_flags, 1)) {
perror_msg("nfsmount failed");