forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Snapshot directory listing (.zfs and .zfs/dataset) missed checking for SINGLE_ENTRY flags, confusing DOS. FSCTL_GET_REPARSE_POINT should not return "needed bytes" in IoStatus.Information. Or rather, STATUS_BUFFER_OVERFLOW does not return "needed bytes", but rather amount that fit, often 0. STATUS_BUFFER_TOO_SMALL returns "needed bytes". This caused Explorer.exe to stack overflow. Stop ctldir nodes (.zfs, .zfs/snapshot and .zfs/snapshot/*) from being reclaimed (usecount++). Make sure to attach security to ctldir entries. Signed-off-by: Jorgen Lundman <[email protected]>
- Loading branch information
Showing
7 changed files
with
85 additions
and
65 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
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.