umount - Remove sync() call from utility
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 6 Nov 2010 15:41:02 +0000 (08:41 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 6 Nov 2010 15:41:02 +0000 (08:41 -0700)
commit136e843fb06cb9682ff05052bf187c08124ec4c2
treece4f09219e8440fe62078cab1cb821739c26a54d
parentae2ee8ee002593a73a3fb44054f3731c3250793f
umount - Remove sync() call from utility

* Do not call sync() unconditionally when issuing the /sbin/umount command.
  Let the kernel take care of any syncing.

* This may allow umount -f to operate better in situations where a mount
  might be stuck (such as a NFS mount), and also removes delays associated
  with scanning large numbers of vnodes on x86_64.
sbin/umount/umount.c