]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add LK_NOWITNESS to the vn_lock() calls done on newly created nfs
authorrmacklem <rmacklem@FreeBSD.org>
Wed, 9 Sep 2009 20:37:49 +0000 (20:37 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Wed, 9 Sep 2009 20:37:49 +0000 (20:37 +0000)
commit2f0e817202fd1926d9261102d1576c28d138e982
treeccf1c756af1d81638dd057a40135788ecb411f08
parent7767fd5cfa84d293feba031571228c6ea1ec96e2
Add LK_NOWITNESS to the vn_lock() calls done on newly created nfs
vnodes, since these nodes are not linked into the mount queue and,
as such, the vn_lock() cannot cause a deadlock so LORs are harmless.

Suggested by: kib
Approved by: kib (mentor)
MFC after: 3 days
sys/fs/nfsclient/nfs_clnode.c
sys/fs/nfsclient/nfs_clport.c
sys/nfsclient/nfs_node.c