Fix sparse gcc-base-dir

The sparse has default value for the gcc's base directory when sparse
was compiled.  So, if gcc was updated, but sparse was not rebuilded,
sparse's default value may not work correctly.

So, this overwrites the base directory with current gcc.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Don't use variable length array in clear_other_magic()

sparse warns about variable length array. And it is not good for
kernel debugging (outputs confusing asm).

For now, user is clear_other_magic() only. So, fix clear_other_magic().
If we want to this later, let's adjust sparse flags then.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Fix cleanup target for *.gcda, *.gcno, and *.orig

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Separate "coverage" target from "tests" target in Makefile

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Fix conflict of XATTR_CREATE/REPLACE and struct xattr

XATTR_CREATE/REPLACE and struct xattr are conflicting with kernel.
Don't use some sort of common name.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Add command line option parser to replace getopt

Signed-off-by: Daniel Phillips <daniel@phunq.net>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Suppress sparse warning for ptr-subtraction-blows

sparse warns if structure is not power-of-two, and using pointer
subtraction. This seems to be useless.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Convert tux3.c to new options parser

This adds help and usage autogenerate and other conveniences
Separate command line parsing from tux3 filesystem operations

Signed-off-by: Daniel Phillips <daniel@phunq.net>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
vtable-disable-for-now

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
atable-flush-fix

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
writeback-sort-inodes

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
cursor_redirect-alloc-order-fix

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
dleaf2-fix-allocation-order

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>