freebsd-dev/sys/fs/smbfs
Davide Italiano 80704a47af Until now, smbfs_fullpath() computed the full path starting from the
vnode and following back the chain of n_parent pointers up to the root,
without acquiring the locks of the n_parent vnodes analyzed during the
computation. This is immediately wrong because if the vnode lock is not
held there's no guarantee on the validity of the vnode pointer or the data.
In order to fix, store the whole path in the smbnode structure so that
smbfs_fullpath() can use this information.

Discussed with:		kib
Reported and tested by:		pho
Sponsored by:		iXsystems inc.
2012-11-22 08:58:29 +00:00
..
smbfs_io.c Until now, smbfs_fullpath() computed the full path starting from the 2012-11-22 08:58:29 +00:00
smbfs_node.c Until now, smbfs_fullpath() computed the full path starting from the 2012-11-22 08:58:29 +00:00
smbfs_node.h Until now, smbfs_fullpath() computed the full path starting from the 2012-11-22 08:58:29 +00:00
smbfs_smb.c Fix panic due to page faults while in kernel mode, under conditions of 2012-10-31 03:34:07 +00:00
smbfs_subr.c Until now, smbfs_fullpath() computed the full path starting from the 2012-11-22 08:58:29 +00:00
smbfs_subr.h Fix panic due to page faults while in kernel mode, under conditions of 2012-10-31 03:34:07 +00:00
smbfs_vfsops.c Until now, smbfs_fullpath() computed the full path starting from the 2012-11-22 08:58:29 +00:00
smbfs_vnops.c Get rid of some old debug code. It provides checks similar to the one 2012-11-14 19:10:50 +00:00
smbfs.h - Do not put in the mntqueue half-constructed vnodes. 2012-10-31 03:55:33 +00:00