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

fs/driver: fix unregister with CONFIG_DISABLE_PSEUDOFS_OPERATIONS #334

Closed
wants to merge 1 commit into from

Conversation

eenurkka
Copy link

@eenurkka eenurkka commented Dec 30, 2024

If CONFIG_DISABLE_PSEUDOFS_OPERATIONS is set, the inode doesn't get removed at all. This may be hacky, but remove it forcibly for now.

Summary

If CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set (like now), fs code has a bug that corrupts memory. Thus, avoid this situation at all cost.

Impact

Testing

If CONFIG_DISABLE_PSEUDOFS_OPERATIONS is set, the inode doesn't
get removed at all. This may be hacky, but remove it forcibly for
now.

Signed-off-by: Eero Nurkkala <[email protected]>
@eenurkka
Copy link
Author

Bug not due to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant