diff options
author | David Sterba <dsterba@suse.com> | 2020-06-09 20:22:47 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-06-09 20:23:18 +0300 |
commit | f1084bc60a1ec592011a805a0f925f2f1205897d (patch) | |
tree | c24aaa52c6bafe2afa0a4397bfc6a9bd0b954dfa /include/linux/fs.h | |
parent | 8e0fa5d7b3df6e7e23e13a7250b00afe32d4e618 (diff) | |
download | linux-f1084bc60a1ec592011a805a0f925f2f1205897d.tar.xz |
Revert "fs: remove dio_end_io()"
This reverts commit b75b7ca7c27dfd61dba368f390b7d4dc20b3a8cb.
The patch restores a helper that was not necessary after direct IO port
to iomap infrastructure, which gets reverted.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index e84623d5e173..366c533d30cd 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -3187,6 +3187,8 @@ enum { DIO_SKIP_HOLES = 0x02, }; +void dio_end_io(struct bio *bio); + ssize_t __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, struct block_device *bdev, struct iov_iter *iter, get_block_t get_block, |