ext4: 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>
This commit is contained in:
Darrick J. Wong 2015-10-17 16:18:43 -04:00 • committed by Theodore Ts'o
commit e2b911c535
15 changed files with 252 additions and 184 deletions