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

initialize snap device for cow #367

Closed

Conversation

natalia-zelazna
Copy link
Contributor

@natalia-zelazna natalia-zelazna commented Mar 27, 2024

Hi, this is the complete work covering crash during reboot (handle_bdev_mount_event during transition from active to dormant state). This solution provides proper handling of cow_file_extens. It should solve #365

@Swistusmen
Copy link
Collaborator

What is the purpose of last commit? From what I see it in best case doesn't change anything because dentry and vfsmount are NULL when you do path_put so they just do return

@natalia-zelazna
Copy link
Contributor Author

  1. to remove direct dependency form version number in the code - I went throug older supported distros and dattobd works fine with kernel_path instead of user_path_at
  2. to consistently (with other errors that may happen in this function) go to the error handling part without checking all other possible failures on the way.

@st-matskevich
Copy link
Collaborator

Closed as work will be completed in #375

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.

None yet

3 participants