From e942e88b8cf37cd7dc292b7dbcfa567114bdb28e Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 26 Jul 2013 12:15:29 -0500 Subject: swapfiles: do not try to unmount all tmpfs mounts This is handled in the swap script, so it should not be done here as well. X-Gentoo-Bug: 477534 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=477534 --- init.d/swapfiles.in | 8 -------- 1 file changed, 8 deletions(-) diff --git a/init.d/swapfiles.in b/init.d/swapfiles.in index ec73baa..144096a 100644 --- a/init.d/swapfiles.in +++ b/init.d/swapfiles.in @@ -21,14 +21,6 @@ start() stop() { ebegin "Deactivating additional swap space" - - # Try to unmount all tmpfs filesystems not in use, else a deadlock may - # occur. As $RC_SVCDIR may also be tmpfs we cd to it to lock it - # fixme: Do we need this here since we are only unmounting swap files - # and loopback swap? - cd "$RC_SVCDIR" - umount -a -t tmpfs 2>/dev/null - case "$RC_UNAME" in Linux) if [ -e /proc/swaps ]; then -- cgit v1.2.3