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

Obtain ref on root dentry in mqfs.GetFilesystem. #6778

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 25, 2021

Obtain ref on root dentry in mqfs.GetFilesystem.

As documented in FilesystemType.GetFilesystem, a reference should be taken on
the returned dentry and filesystem by GetFilesystem implementation. mqfs did
not do that.

Additionally cleanup and clarify ref counting of dentry, filesystem and mount
in mqfs.

Reported-by: syzbot+a2c54bfb6e1525228e5f@syzkaller.appspotmail.com
Reported-by: syzbot+ccd305cdab11cfebbfff@syzkaller.appspotmail.com

@copybara-service copybara-service bot added the exported Issue was exported automatically label Oct 25, 2021
@google-cla google-cla bot added the cla: yes CLA has been signed label Oct 25, 2021
@copybara-service copybara-service bot force-pushed the test/cl405213961 branch 2 times, most recently from 867dd4c to 4cb65af Compare October 26, 2021 18:06
As documented in FilesystemType.GetFilesystem, a reference should be taken on
the returned dentry and filesystem by GetFilesystem implementation. mqfs did
not do that.

Additionally cleanup and clarify ref counting of dentry, filesystem and mount
in mqfs.

Reported-by: syzbot+a2c54bfb6e1525228e5f@syzkaller.appspotmail.com
Reported-by: syzbot+ccd305cdab11cfebbfff@syzkaller.appspotmail.com
PiperOrigin-RevId: 405700565
@copybara-service copybara-service bot merged commit 763d7e6 into master Oct 26, 2021
@copybara-service copybara-service bot deleted the test/cl405213961 branch October 26, 2021 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes CLA has been signed exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant