commit | 9326c9b20dd813248280cca1e1d1c05e939dae15 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Wed Jul 26 10:21:11 2017 -0400 |
committer | Jeff Layton <jlayton@redhat.com> | Sat Jul 29 09:01:02 2017 -0400 |
tree | eb1084660a624ad6d0c56dd6b9bd19a5d16fba82 | |
parent | 80aafd50b6a4fa6b6bba4b451b553d5d221f59ff [diff] |
mm: consolidate dax / non-dax checks for writeback We have this complex conditional copied to several places. Turn it into a helper function. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Jeff Layton <jlayton@redhat.com>