Whamcloud - gitweb
debugfs: clean up feature test macros with predicate functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 24 Oct 2015 05:26:35 +0000 (01:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 24 Oct 2015 05:26:35 +0000 (01:26 -0400)
commit4ee26699823c945b1894880f53cea3b45b5e3a20
treeefad6ebb99252ca3462c44bcfb6062772f9b3b97
parent21e37be65ba886a2b743ab435400ec9e63548e36
debugfs: 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>
contrib/add_ext4_encrypt.c
debugfs/debugfs.c
debugfs/do_journal.c
debugfs/filefrag.c
debugfs/htree.c
debugfs/journal.c
debugfs/logdump.c
debugfs/quota.c