Skip to content

linux: fix do_mount return value#2141

Merged
giuseppe merged 1 commit into
containers:mainfrom
eriksjolund:fix-return
Jul 26, 2026
Merged

linux: fix do_mount return value#2141
giuseppe merged 1 commit into
containers:mainfrom
eriksjolund:fix-return

Conversation

@eriksjolund

Copy link
Copy Markdown
Contributor

Fixes: #2140

In #2140 I described how I interacted with Claude Sonnet 5.
I added this to the git commit message:

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>

(I'm not quite sure how AI attribution should look like)

Fixes: containers#2140

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request fixes an issue in src/libcrun/linux.c within the do_mount function by ensuring that the error code ms_move_fd is returned instead of fd when open_mount_target fails. I have no further feedback to provide as there are no review comments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@giuseppe giuseppe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@giuseppe
giuseppe merged commit 5f05729 into containers:main Jul 26, 2026
46 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.

linux: do_mount() returns fd instead of ms_move_fd

2 participants