Skip to content

[UDFS] Fix compilation errors in debug output paths#306

Draft
Copilot wants to merge 5 commits into
udf-devfrom
copilot/udfs-apply-pr-239
Draft

[UDFS] Fix compilation errors in debug output paths#306
Copilot wants to merge 5 commits into
udf-devfrom
copilot/udfs-apply-pr-239

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 28, 2026

Two compilation errors occur in the UDFS driver when debug output is enabled — one due to a non-existent VCB member, and one due to treating a LONGLONG as a LARGE_INTEGER.

Changes

  • Include/phys_lib.cpp: Vcb->WCacheBlocksPerFrameSh is not a member of VCB. Replaced 1 << Vcb->WCacheBlocksPerFrameSh with Vcb->WriteBlockSize >> Vcb->SectorShift to compute blocks-per-frame from available fields.

  • write.cpp: StartingOffset is LONGLONG, not LARGE_INTEGER — accessing .LowPart is invalid. Replaced with (ULONG)StartingOffset.

Copilot AI linked an issue Apr 28, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Apply changes from PR #239 for UDFS [UDFS] Fix compilation errors in debug output paths Apr 28, 2026
Copilot AI requested a review from Zero3K20 April 28, 2026 01:11
Copilot AI added a commit that referenced this pull request May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UDFS] Apply PR #239

3 participants