Files
linux/drivers/block
Ira Weiny efbe3c2493 fs: Remove unneeded IS_DAX() check in io_is_direct()
Remove the check because DAX now has it's own read/write methods and
file systems which support DAX check IS_DAX() prior to IOCB_DIRECT on
their own.  Therefore, it does not matter if the file state is DAX when
the iocb flags are created.

Also remove io_is_direct() as it is just a simple flag check.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2020-05-04 08:49:39 -07:00
..
2020-03-27 10:23:43 -06:00
2019-11-28 10:40:47 -07:00
2020-03-27 10:23:43 -06:00
2020-03-27 10:23:43 -06:00
2020-03-27 10:23:43 -06:00
2018-11-09 08:14:14 -07:00
2020-03-27 10:23:43 -06:00
2020-04-17 06:05:30 -04:00