From: Antonio Russo Date: Sun, 2 Mar 2025 19:58:07 +0000 (-0700) Subject: fallocate: rework incompatible options X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7130d901f1867061514296395589fe004a3e4bec;p=thirdparty%2Futil-linux.git fallocate: rework incompatible options Follow up to d95f9a6, addressing ordering requirements, natural incompatibilities between various options, and limitations of posix_fallocate. --- 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;