Subject: CVS commit: src/sys/fs/smbfs
To: None <>
From: Jaromir Dolecek <>
List: source-changes
Date: 02/29/2004 11:47:08
Module Name:	src
Committed By:	jdolecek
Date:		Sun Feb 29 11:47:08 UTC 2004

Modified Files:
	src/sys/fs/smbfs: smbfs_node.c smbfs_node.h smbfs_vnops.c

Log Message:
close the SMB handle when vnode is inactivated, rather than on file close,
so that mmap()ped regions remain accessible even when the file descriptor
is closed
g/c smbnode's n_opencount, and have single NOPEN flag instead

fixes PR kern/24516 by Lloyd Parkes

change obtained from FreeBSD, with only minor adjustments

To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/sys/fs/smbfs/smbfs_node.c
cvs rdiff -r1.8 -r1.9 src/sys/fs/smbfs/smbfs_node.h
cvs rdiff -r1.33 -r1.34 src/sys/fs/smbfs/smbfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.