Subject: PR/36610 CVS commit: src/sys/nfs
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Mindaugas Rasiukevicius <rmind@netbsd.org>
List: netbsd-bugs
Date: 07/12/2007 18:30:02
The following reply was made to PR kern/36610; it has been noted by GNATS.
From: Mindaugas Rasiukevicius <rmind@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36610 CVS commit: src/sys/nfs
Date: Thu, 12 Jul 2007 18:29:43 +0000 (UTC)
Module Name: src
Committed By: rmind
Date: Thu Jul 12 18:29:43 UTC 2007
Modified Files:
src/sys/nfs: nfs_bio.c
Log Message:
nfs_asyncio: fix the locking in error case, problem was introduced
in 1.153 revision, where ltsleep() was replaced with condvar.
Problem found and fix provided by David A. Holland, PR/36610.
Actually, relock is not needed here, and mutex would be unlocked
only on nfs_sigintr() fail case.
To generate a diff of this commit:
cvs rdiff -r1.157 -r1.158 src/sys/nfs/nfs_bio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.