direct-io: always call ->end_io if non-NULL
[linux-2.6-block.git] / include / linux / fs.h
index 1a2046275cdf0353e68a9cf38c5fe8762a62fdc2..d7f37bfcbdcec77e68d419330f734beed0f6ee6f 100644 (file)
@@ -70,7 +70,7 @@ extern int sysctl_protected_hardlinks;
 struct buffer_head;
 typedef int (get_block_t)(struct inode *inode, sector_t iblock,
                        struct buffer_head *bh_result, int create);
-typedef void (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
+typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
                        ssize_t bytes, void *private);
 typedef void (dax_iodone_t)(struct buffer_head *bh_map, int uptodate);