/[base]
ViewVC logotype

Revision 319096


Jump to revision: Previous Next
Author: avg
Date: Mon May 29 06:30:34 2017 UTC (7 years, 1 month ago)
Changed paths: 1
Log Message:
zfs_lookup: fix bogus arguments to lookup of "snapshot" directory

When a parent directory lookup is done at the root of a snapshot mounted
under .zfs/snapshot directory, we need to look up that directory in
the parent filesystem.  We achieve that by doing a VOP_LOOKUP operation
on a .zfs vnode with "snapshot" as a target name.  But previously we
also passed ISDOTDOT flag to the lookup and, because of that, the lookup
actually returned the parent of the .zfs vnode, that is, a root vnode of
the parent filesystem.

Reported by:	lev
Tested by:	lev
MFC after:	3 days


Changed paths

Path Details
Directoryhead/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27