Linux 6.13-rc4
[linux.git] / fs / btrfs / direct-io.h
blob3dc3ea926afe211af67dba1838b8be25a476625e
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef BTRFS_DIRECT_IO_H
4 #define BTRFS_DIRECT_IO_H
6 #include <linux/types.h>
8 int __init btrfs_init_dio(void);
9 void __cold btrfs_destroy_dio(void);
11 ssize_t btrfs_direct_write(struct kiocb *iocb, struct iov_iter *from);
12 ssize_t btrfs_direct_read(struct kiocb *iocb, struct iov_iter *to);
14 #endif /* BTRFS_DIRECT_IO_H */