Permalink
Browse files

unmount: remove filthy hacks on unmount. aufs seems stable with write…

… barriers again
  • Loading branch information...
1 parent 701d08d commit e6101ea8ae7fb640c3148f452f55ec07ee271e0a @falconindy committed Jun 8, 2010
Showing with 3 additions and 8 deletions.
  1. +3 −8 squashfu
View
@@ -119,21 +119,16 @@ unmount_union () {
# Args: none
# Returns: return code from umount
info "Unmounting union"
- while mountpoint -q "$UNION_MOUNT"; do
- umount "$UNION_MOUNT" 2>/dev/null
- sleep .5
- done
+ umount "$UNION_MOUNT" 2>/dev/null
+ sleep .5
return $?
}
unmount_squash () {
# Args: none
# Returns: return code from umount
info "Unmounting squash"
- while mountpoint -q "$SQUASH_MOUNT"; do
- umount "$SQUASH_MOUNT" 2>/dev/null
- sleep .5
- done
+ umount "$SQUASH_MOUNT" 2>/dev/null
return $?
}

0 comments on commit e6101ea

Please sign in to comment.