NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/50375 CVS commit: src/sys/kern

The following reply was made to PR kern/50375; it has been noted by GNATS.

From: "Juergen Hannken-Illjes" <>
Subject: PR/50375 CVS commit: src/sys/kern
Date: Thu, 12 Nov 2015 11:35:42 +0000

 Module Name:	src
 Committed By:	hannken
 Date:		Thu Nov 12 11:35:42 UTC 2015
 Modified Files:
 	src/sys/kern: vfs_vnode.c
 Log Message:
 Take the vnode lock before the vnode is marked VI_CHANGING and fed
 to vclean().  Prevents a deadlock with two null mounts on the same
 physical mount where one thread tries to vclean() a layer node and
 another thread tries to vget() a layer node pointing to the same
 physical node.
 Fixes PR kern/50375 layerfs (nullfs) locking problem leading to livelock
 To generate a diff of this commit:
 cvs rdiff -u -r1.45 -r1.46 src/sys/kern/vfs_vnode.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index