summaryrefslogtreecommitdiff
path: root/mount/umount.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:25:46 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:25:46 +0100
commitc07ebfa1e02d208ab12430e6791ea147bcfaf9c0 (patch)
treed44a755098286f5d553c7aea1a73d98c2995d6ec /mount/umount.c
parent66ee8158b69525e12060ef558cb5d77feadab1dc (diff)
downloadutil-linux-old-c07ebfa1e02d208ab12430e6791ea147bcfaf9c0.tar.gz
Imported from util-linux-2.11b tarball.
Diffstat (limited to 'mount/umount.c')
-rw-r--r--mount/umount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mount/umount.c b/mount/umount.c
index 24622bc9..1843e08e 100644
--- a/mount/umount.c
+++ b/mount/umount.c
@@ -52,7 +52,7 @@
#include <arpa/inet.h>
#endif
-#if defined(MNT_FORCE) && !defined(__sparc__) && !defined(__arm__)
+#if defined(MNT_FORCE) && !defined(__sparc__) && !defined(__arm__) && !defined(__mips__)
/* Interesting ... it seems libc knows about MNT_FORCE and presumably
about umount2 as well -- need not do anything */
#else /* MNT_FORCE */
@@ -378,7 +378,7 @@ umount_one_bw (const char *file, struct mntentchn *mc) {
}
/* Unmount all filesystems of type VFSTYPES found in mtab. Since we are
- concurrently updating mtab after every succesful umount, we have to
+ concurrently updating mtab after every successful umount, we have to
slurp in the entire file before we start. This isn't too bad, because
in any case it's important to umount mtab entries in reverse order
to mount, e.g. /usr/spool before /usr. */