freebsd-dev/sys/cddl/contrib/opensolaris/uts/common/fs
Pawel Jakub Dawidek 8e9fd65fbf getcwd() (when __getcwd() fails) works by stating current directory, going up
(..), calling readdir and looking for previous directory inode.  In case of
.zfs/ directory this doesn't work, because .zfs/ is hidden by default, so it
won't be visible in readdir output.

Fix this by implementing VPTOCNP for snapshot directories, so __getcwd()
doesn't fail and getcwd() doesn't have to use readdir method.

This fixes /bin/pwd from within .zfs/snapshot/<name>/.

Suggested by:	kib
Approved by:	re (rwatson)
2009-08-17 10:00:18 +00:00
..
zfs getcwd() (when __getcwd() fails) works by stating current directory, going up 2009-08-17 10:00:18 +00:00
gfs.c work around snapshot shutdown race reported by Henri Hennebert 2009-05-30 19:26:35 +00:00
vnode.c Manage asynchronous vnode release just like Solaris. 2009-08-17 09:48:34 +00:00