summaryrefslogtreecommitdiff
path: root/ioctl-test.c
Commit message (Collapse)AuthorAge
* btrfs-progs: tests: make the ioctl-test actually usefulDavid Sterba2016-10-24
| | | | | | | | Enhance the test to verify ioctl uniqueness, compare the defined values against the hardcoded expected values, and take care of the 32bit/64bit compatibility workarounds. Signed-off-by: David Sterba <dsterba@suse.com>
* btrfs-progs: mark static & remove unused from non-kernel codeEric Sandeen2013-09-03
| | | | | | | | Mark many functions as static, and remove any resulting dead code. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
* Test the additional ioctl.Andreas Philipp2011-10-25
| | | | | Signed-off-by: Andreas Philipp <philipp.andreas@gmail.com> Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
* Add ioctl-test.c which just prints all the ioctl numbers.Chris Mason2010-03-15
This is used to compare the output on 64 bit and 32 bit machines and make sure all of our ioctls are compat defined.