xfs: split xfs_file_read_iter into buffered and direct I/O helpers
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jul 2016 01:35:42 +0000 (11:35 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 20 Jul 2016 01:35:42 +0000 (11:35 +1000)
commitbbc5a740c4f27a9732a3a3decf3186b4bce21108
tree9e0f30810d55060427d5d01aae1d2b3438affb52
parentcf810712cc82cbfab8f08a46ca6c0289d386a303
xfs: split xfs_file_read_iter into buffered and direct I/O helpers

Similar to what we did on the write side a while ago.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_file.c