Date: Wed, 22 Aug 2001 23:46:38 -0700 (PDT) From: Andre Guibert de Bruet <andre@siliconlandmark.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/29974: smbfs generates a ''Negative opencount'' error message on unmount Message-ID: <200108230646.f7N6kcp85890@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 29974 >Category: kern >Synopsis: smbfs generates a ''Negative opencount'' error message on unmount >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 22 23:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Andre Guibert de Bruet >Release: FreeBSD 4.4-RC i386 >Organization: >Environment: FreeBSD theta.properkernel.com 4.4-RC FreeBSD 4.4-RC #0: Thu Aug 23 00:26:18 EDT 2001 root@theta.properkernel.com:/usr/src/sys/compile/THETA i386 >Description: Unmounting an smbfs filesystem generates a "Negative opencount" message on two (so far) different 4.4-RC i386 machines. I have been able to reproduce this with both the kld and the in-kernel versions of smbfs. I traced down the error message and it comes from a call to smb_closel() in /usr/src/sys/fs/smbfs/smbfs_vnops.c. >How-To-Repeat: Either compile a kernel with smbfs or load the kld. Mount an smb filesystem and unmount it. >Fix: I created a patch which addresses the issue. It is available at http://siliconlandmark.com/staff/andre/smbfs.diff . >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108230646.f7N6kcp85890>