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

lib/deploy: skip fallocate call when requested size is 0 #2871

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

dustymabe
Copy link
Contributor

If the requested size is 0 then of course we have enough room 🙂

This avoids the fallocate call returning an EINVAL.

Closes: #2869

If the requested size is 0 then of course we have enough room 🙂

This avoids the fallocate call returning an EINVAL.

Closes: ostreedev#2869
@cgwalters cgwalters enabled auto-merge June 1, 2023 13:59
@cgwalters cgwalters merged commit 67929db into ostreedev:main Jun 1, 2023
19 checks passed
dustymabe added a commit to dustymabe/fedora-coreos-config that referenced this pull request Jun 2, 2023
It has a fix for an autopruning corner case.
ostreedev/ostree#2871
dustymabe added a commit to coreos/fedora-coreos-config that referenced this pull request Jun 2, 2023
It has a fix for an autopruning corner case.
ostreedev/ostree#2871
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this pull request Oct 10, 2023
It has a fix for an autopruning corner case.
ostreedev/ostree#2871
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this pull request Oct 10, 2023
It has a fix for an autopruning corner case.
ostreedev/ostree#2871
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.

auto prune fails for simple operations with fallocate EINVAL
2 participants