From bb421028ffca0d252a11c42745c3c13efc2c07a6 Mon Sep 17 00:00:00 2001 From: Antonio Russo Date: Sun, 2 Mar 2025 12:58:07 -0700 Subject: [PATCH] fallocate: rework incompatible options Follow up to d95f9a6, addressing ordering requirements, natural incompatibilities between various options, and limitations of posix_fallocate. (cherry picked from commit 7130d901f1867061514296395589fe004a3e4bec) --- sys-utils/fallocate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys-utils/fallocate.c b/sys-utils/fallocate.c index 5c338e078..fff75b03f 100644 --- a/sys-utils/fallocate.c +++ b/sys-utils/fallocate.c @@ -313,9 +313,8 @@ int main(int argc, char **argv) }; static const ul_excl_t excl[] = { /* rows and cols in ASCII order */ - { 'c', 'd', 'p', 'z' }, - { 'c', 'n' }, { 'c', 'd', 'i', 'p', 'x', 'z'}, + { 'c', 'i', 'n', 'x' }, { 0 } }; int excl_st[ARRAY_SIZE(excl)] = UL_EXCL_STATUS_INIT; -- 2.47.3