commit | 6642586b3e5f9e0b559d20352d8d42ad84224d1f | [log] [tgz] |
---|---|---|
author | Ross Zwisler <ross.zwisler@linux.intel.com> | Thu Oct 12 12:00:59 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Oct 12 12:00:59 2017 -0400 |
tree | 215de3257712900bb4dd31c14c2da31d044f0507 | |
parent | 7d3e06a8dae893a0df2777543980dc62eff61b59 [diff] |
ext4: add ext4_should_use_dax() This helper, in the spirit of ext4_should_dioread_nolock() et al., replaces the complex conditional in ext4_set_inode_flags(). Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>