]> Sergey Matveev's repositories - public-inbox.git/commit
syscall: FS_IOC_*FLAGS: define on per-architecture basis
authorEric Wong <e@80x24.org>
Tue, 1 Feb 2022 01:27:50 +0000 (01:27 +0000)
committerEric Wong <e@80x24.org>
Tue, 1 Feb 2022 10:07:33 +0000 (10:07 +0000)
commit760c225c3831a9164f11ddf9d5318ad6c3f84bb8
tree7a12ce439094761a7fd133c8e4b5b2a870126928
parentd8f1a9f189f0d74887cbb896caacaf7f1f256607
syscall: FS_IOC_*FLAGS: define on per-architecture basis

It turns out these Linux ioctls are unfortunately
architecture-dependent, and not endian-dependent.
Fixup some warning messages while we're at it, too.

Fixes: 14fa0abdcc7b6513 ("rewrite Linux nodatacow use in pure Perl w/o system")
Link: https://public-inbox.org/meta/YfdYqLhDVQRQ9NGT@codewreck.org/
Noticed-by: Dominique Martinet <asmadeus@codewreck.org>
lib/PublicInbox/Syscall.pm