Nikhilesh Reddy | 759832b | 2017-07-26 09:41:57 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 and |
| 6 | * only version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | */ |
| 14 | |
| 15 | #ifndef _FS_FUSE_PASSTHROUGH_H |
| 16 | #define _FS_FUSE_PASSTHROUGH_H |
| 17 | |
| 18 | #include "fuse_i.h" |
| 19 | |
| 20 | #include <linux/fuse.h> |
| 21 | #include <linux/file.h> |
| 22 | |
| 23 | void fuse_setup_passthrough(struct fuse_conn *fc, struct fuse_req *req); |
| 24 | |
| 25 | ssize_t fuse_passthrough_read_iter(struct kiocb *iocb, struct iov_iter *to); |
| 26 | |
| 27 | ssize_t fuse_passthrough_write_iter(struct kiocb *iocb, struct iov_iter *from); |
| 28 | |
| 29 | void fuse_passthrough_release(struct fuse_file *ff); |
| 30 | |
| 31 | #endif /* _FS_FUSE_PASSTHROUGH_H */ |