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

fuse passthrough: fix PassthroughFd return wrong num to go-fuse #1874

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

wswsmao
Copy link
Contributor

@wswsmao wswsmao commented Nov 25, 2024

In go-fuse, if the FilePassthroughFder interface is implemented, an attempt is made to register the fd to the kernel using addBackingID after an open operation.
To avoid this operation in non-passthrough mode, we now return an exceptional value.

…h model

Signed-off-by: abushwang <abushwangs@gmail.com>
@wswsmao wswsmao changed the title fuse passthrough: fix PassthroughFd return wrong num in no passthroug… fuse passthrough: fix PassthroughFd return wrong num to go-fuse Nov 25, 2024
Copy link
Member

@ktock ktock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@ktock ktock merged commit efb9325 into containerd:main Nov 25, 2024
26 checks passed
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