git: unmount - fix issue with process refs on unmount

Alex Hornung alexh at
Fri Jul 2 13:40:05 PDT 2010

commit 32b7c8fd87be7c51dc88c41996a6a847e11ceede
Author: Alex Hornung <ahornung at>
Date:   Fri Jul 2 21:29:17 2010 +0100

    unmount - fix issue with process refs on unmount
    * The p_textnch introduction made this issue appear, as some processes
      are still alive at system shutdown and their p_textnch were holding
      these references to the mount nch.
    * On unmount of a filesystem we now scan all active processes for procs
      whose p_textnch is related to the mountpoint we are getting rid of,
      and release these.
    Special-Thanks-To: Antonio Huete (tuxillo@) for identifying the
    offending commit and extensive testing

Summary of changes:
 sys/kern/vfs_syscalls.c |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list