aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h8
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
214struct ext4_io_submit { 215struct 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 */
2650extern int __init ext4_init_pageio(void); 2651extern int __init ext4_init_pageio(void);
2651extern void ext4_add_complete_io(ext4_io_end_t *io_end);
2652extern void ext4_exit_pageio(void); 2652extern void ext4_exit_pageio(void);
2653extern void ext4_ioend_shutdown(struct inode *); 2653extern void ext4_ioend_shutdown(struct inode *);
2654extern void ext4_free_io_end(ext4_io_end_t *io);
2655extern ext4_io_end_t *ext4_init_io_end(struct inode *inode, gfp_t flags); 2654extern ext4_io_end_t *ext4_init_io_end(struct inode *inode, gfp_t flags);
2655extern ext4_io_end_t *ext4_get_io_end(ext4_io_end_t *io_end);
2656extern int ext4_put_io_end(ext4_io_end_t *io_end);
2657extern void ext4_put_io_end_defer(ext4_io_end_t *io_end);
2658extern void ext4_io_submit_init(struct ext4_io_submit *io,
2659 struct writeback_control *wbc);
2656extern void ext4_end_io_work(struct work_struct *work); 2660extern void ext4_end_io_work(struct work_struct *work);
2657extern void ext4_io_submit(struct ext4_io_submit *io); 2661extern void ext4_io_submit(struct ext4_io_submit *io);
2658extern int ext4_bio_write_page(struct ext4_io_submit *io, 2662extern int ext4_bio_write_page(struct ext4_io_submit *io,