Skip to content

Conversation

@apires
Copy link

@apires apires commented Dec 2, 2022

This patch adds a few things:

  • Validates volume name a bit closer to the fat spec
  • (bug) When we're walking a directory for mkdir we compare what we're looking for by directory entry nodes, rather than on a file/directory basis. This leaves the root volume entry as an unhandled case, specially if the volume name matches the name of the file we're trying to create. This patchset skips the the root directory node in this traversal.

This patch adds a few things:
 - Validates volume name a bit closer to the fat spec
 - (bug) When we're walking a directory for mkdir we compare what we're looking for by directory entry nodes, rather than on a file/directory basis. This leaves the root volume entry as an unhandled case, specially if the volume name matches the name of the file we're trying to create. This patchset skips the the root directory node in this traversal.
Copy link
Collaborator

@deitch deitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thank you.

@deitch
Copy link
Collaborator

deitch commented Dec 5, 2022

Some lint errors to clean up.

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.

2 participants