summaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-08-01 19:21:59 +0200
committerJens Axboe <axboe@kernel.dk>2023-08-02 09:13:09 -0600
commita05f7bd9578b17521a9a5f3689f3934c082c6390 (patch)
tree702718c15cad0af6a524c3dbc461c6bd5b9bbe60 /mm/truncate.c
parent727cfe976758b79f8d2f8051c75a5ccb14539a56 (diff)
block: stop setting ->direct_IO
Direct I/O on block devices now nevers goes through aops->direct_IO. Stop setting it and set the FMODE_CAN_ODIRECT in ->open instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20230801172201.1923299-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions