Whamcloud - gitweb
misc: clean up feature test macros with predicate functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 24 Oct 2015 05:23:01 +0000 (01:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 24 Oct 2015 05:23:01 +0000 (01:23 -0400)
commit7889640d6d0b3ec3ce0f557e563e84c7bbe3fc19
treec5bba2e075653a75dc197dde548ea7de5bd7955b
parent86f3b6cf98a72c6dad0738e3af2512ddcbd49be9
misc: clean up feature test macros with predicate functions

Create separate predicate functions to test/set/clear feature flags,
thereby replacing the wordy old macros.  Furthermore, clean out the
places where we open-coded feature tests.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/create_inode.c
misc/dumpe2fs.c
misc/fuse2fs.c
misc/mk_hugefiles.c
misc/mke2fs.c
misc/tune2fs.c