Subject: Re: kern/30303: Unlocking already-unlocked file on smbfs returns EBUSY
To: None <jdolecek@netbsd.org, gnats-admin@netbsd.org,>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-bugs
Date: 06/14/2005 08:16:02
The following reply was made to PR kern/30303; it has been noted by GNATS.

From: Dave Huang <khym@azeotrope.org>
To: Jaromir Dolecek <jdolecek@NetBSD.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/30303: Unlocking already-unlocked file on smbfs returns EBUSY
Date: Tue, 14 Jun 2005 03:15:47 -0500

 On Sun, Jun 12, 2005 at 05:25:27PM +0200, Jaromir Dolecek wrote:
 > > 	This is apparently due to smb_maperror() in
 > > sys/netsmb/smb_subr.c mapping the ERRnotlocked returned by the SMB
 > > server to EBUSY, then that getting passed back up to flock()'s caller.
 > 
 > This is right :)
 > 
 > Can you try this patch?
 
 That fixes it; thanks!