Date: Fri, 13 Dec 2002 02:15:01 -0800 (PST) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/smbfs smbfs_io.c smbfs_node.c smbfs_node.h smbfs_smb.c smbfs_subr.c smbfs_vnops.c Message-ID: <200212131015.gBDAF1mg006762@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2002/12/13 02:15:01 PST
Modified files:
sys/fs/smbfs smbfs_io.c smbfs_node.c smbfs_node.h
smbfs_smb.c smbfs_subr.c smbfs_vnops.c
Log:
Store a reference to the parent directory's vnode in struct smbnode,
not to the parent's smbnode, which may be freed during the lifetime
of the child if the mount is forcibly unmounted. umount -f should now
work properly (ie. not panic) on smbfs mounts.
Revision Changes Path
1.15 +1 -1 src/sys/fs/smbfs/smbfs_io.c
1.11 +5 -5 src/sys/fs/smbfs/smbfs_node.c
1.3 +1 -1 src/sys/fs/smbfs/smbfs_node.h
1.7 +2 -1 src/sys/fs/smbfs/smbfs_smb.c
1.2 +1 -1 src/sys/fs/smbfs/smbfs_subr.c
1.25 +3 -2 src/sys/fs/smbfs/smbfs_vnops.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212131015.gBDAF1mg006762>
