forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add vnode_parent() vnode_setparent() to have easiler access to the parent vnode. This is something XNU does internally to VFS, but Windows port initially skipped. Some care is needed with symlinks, as the parent can change depending on how it was opened. Potentially the real parent needs to be stored in zccb, due to how Windows handles things. This changes a lot and is likely to be a bit unstable. Most noticably, we now actually call zfs_reclaim() on deleted files, and reclaim the diskspace they took up. Quite a number of vnode iocount leaks were also corrected. Additional illegal stream names, rename name and characters are also checked for now. This is still incomplete. Signed-off-by: Jorgen Lundman <lundman@lundman.net>
- Loading branch information
Showing
6 changed files
with
355 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.