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

[kernel] Fix extraneous iput in sys_link #2244

Merged
merged 1 commit into from
Feb 27, 2025
Merged

[kernel] Fix extraneous iput in sys_link #2244

merged 1 commit into from
Feb 27, 2025

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Feb 27, 2025

Final fix for #2242 mv bug inside sys_link - iput should not be called twice in the case when minix_link is called to link a directory (as part of a directory rename operation from sys_rename calling sys_link), where minix_link already iput the original inode and returns -EPERM.

Fixed code sourced from TLVC Mellvik/TLVC#142 discussed in Mellvik/TLVC#141.

@ghaerr ghaerr merged commit 2cfa1ce into master Feb 27, 2025
1 check passed
@ghaerr ghaerr deleted the syslink branch February 27, 2025 03:29
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.

1 participant