diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-04-06 05:17:57 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-04-06 05:17:57 +0000 |
commit | fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1 (patch) | |
tree | b692176a654613bb68ca37c42f88201aeb48d8ba /util-linux/mount.c | |
parent | 50e4d660ace54d8da2cb09d537138447a92c68bd (diff) | |
download | busybox-w32-fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1.tar.gz busybox-w32-fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1.tar.bz2 busybox-w32-fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1.zip |
Apply lash_patch35 from vodz, which brings several nice size_optimizations.
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index ae4417cb8..74ce4e116 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -469,9 +469,8 @@ singlemount: | |||
469 | string_flags = xstrdup(string_flags); | 469 | string_flags = xstrdup(string_flags); |
470 | rc = EXIT_SUCCESS; | 470 | rc = EXIT_SUCCESS; |
471 | #ifdef CONFIG_NFSMOUNT | 471 | #ifdef CONFIG_NFSMOUNT |
472 | if (strchr(device, ':') != NULL) | 472 | if (strchr(device, ':') != NULL) { |
473 | filesystemType = "nfs"; | 473 | filesystemType = "nfs"; |
474 | if (strcmp(filesystemType, "nfs") == 0) { | ||
475 | if (nfsmount (device, directory, &flags, &extra_opts, | 474 | if (nfsmount (device, directory, &flags, &extra_opts, |
476 | &string_flags, 1)) { | 475 | &string_flags, 1)) { |
477 | perror_msg("nfsmount failed"); | 476 | perror_msg("nfsmount failed"); |