diff options
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 019db3c1bc3b..82d2b6000a61 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -209,6 +209,7 @@ typedef struct ext4_io_end { | |||
209 | ssize_t size; /* size of the extent */ | 209 | ssize_t size; /* size of the extent */ |
210 | struct kiocb *iocb; /* iocb struct for AIO */ | 210 | struct kiocb *iocb; /* iocb struct for AIO */ |
211 | int result; /* error value for AIO */ | 211 | int result; /* error value for AIO */ |
212 | atomic_t count; /* reference counter */ | ||
212 | } ext4_io_end_t; | 213 | } ext4_io_end_t; |
213 | 214 | ||
214 | struct ext4_io_submit { | 215 | struct ext4_io_submit { |
@@ -2648,11 +2649,14 @@ extern int ext4_move_extents(struct file *o_filp, struct file *d_filp, | |||
2648 | 2649 | ||
2649 | /* page-io.c */ | 2650 | /* page-io.c */ |
2650 | extern int __init ext4_init_pageio(void); | 2651 | extern int __init ext4_init_pageio(void); |
2651 | extern void ext4_add_complete_io(ext4_io_end_t *io_end); | ||
2652 | extern void ext4_exit_pageio(void); | 2652 | extern void ext4_exit_pageio(void); |
2653 | extern void ext4_ioend_shutdown(struct inode *); | 2653 | extern void ext4_ioend_shutdown(struct inode *); |
2654 | extern void ext4_free_io_end(ext4_io_end_t *io); | ||
2655 | extern ext4_io_end_t *ext4_init_io_end(struct inode *inode, gfp_t flags); | 2654 | extern ext4_io_end_t *ext4_init_io_end(struct inode *inode, gfp_t flags); |
2655 | extern ext4_io_end_t *ext4_get_io_end(ext4_io_end_t *io_end); | ||
2656 | extern int ext4_put_io_end(ext4_io_end_t *io_end); | ||
2657 | extern void ext4_put_io_end_defer(ext4_io_end_t *io_end); | ||
2658 | extern void ext4_io_submit_init(struct ext4_io_submit *io, | ||
2659 | struct writeback_control *wbc); | ||
2656 | extern void ext4_end_io_work(struct work_struct *work); | 2660 | extern void ext4_end_io_work(struct work_struct *work); |
2657 | extern void ext4_io_submit(struct ext4_io_submit *io); | 2661 | extern void ext4_io_submit(struct ext4_io_submit *io); |
2658 | extern int ext4_bio_write_page(struct ext4_io_submit *io, | 2662 | extern int ext4_bio_write_page(struct ext4_io_submit *io, |