Skip to content

Check unlinkat result#2138

Merged
kolyshkin merged 1 commit into
containers:mainfrom
eriksjolund:check-unlinkat-result
Jul 14, 2026
Merged

Check unlinkat result#2138
kolyshkin merged 1 commit into
containers:mainfrom
eriksjolund:check-unlinkat-result

Conversation

@eriksjolund

Copy link
Copy Markdown
Contributor

Fixes: #2130

Fixes: containers#2130

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 adds error handling to the unlinkat call within the rmdirfd function in src/libcrun/status.c. If unlinkat fails with an error other than ENOENT, an error is now constructed and returned. There are no review comments, so I have no feedback to provide.

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

@kolyshkin kolyshkin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@kolyshkin
kolyshkin merged commit 2f1be57 into containers:main Jul 14, 2026
46 checks passed
@eriksjolund
eriksjolund deleted the check-unlinkat-result branch July 18, 2026 05:41
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.

status: ret is set to a value that is not checked

3 participants