diff options
author | Ira Weiny <ira.weiny@intel.com> | 2020-04-30 16:41:33 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-04 17:49:39 +0200 |
commit | efbe3c2493d2f7a1e1a753780fe727b34709ebd2 (patch) | |
tree | d806335b4a12279b9f97fc24064e9fb05450e6b3 /drivers/gpio/gpio-xilinx.c | |
parent | Linux 5.7-rc4 (diff) | |
download | linux-efbe3c2493d2f7a1e1a753780fe727b34709ebd2.tar.xz linux-efbe3c2493d2f7a1e1a753780fe727b34709ebd2.zip |
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>
Diffstat (limited to 'drivers/gpio/gpio-xilinx.c')
0 files changed, 0 insertions, 0 deletions