Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of the root dir in path_create_directory and get_inode_at_path_inner #5237

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

Arshia001
Copy link
Member

This fixes creating a directory, renaming it and then creating a directory with the same name again, which would previously fail.

This PR also includes a fix to correctly set the name of an InodeVal when renaming. The wrong value was not observable outside of preopens AFAICT, but having the correct value is, at the very least, future-proof.

@Arshia001 Arshia001 merged commit ccfbff4 into main Nov 8, 2024
71 of 72 checks passed
@Arshia001 Arshia001 deleted the fix/mkdir-rename-mkdir branch November 8, 2024 15:15
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