diff options
author | Christoph Hellwig <hch@lst.de> | 2005-06-23 22:00:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 00:05:19 -0700 |
commit | 92198f7eaa5df3479341dd8fa20c2c81aa3b1e25 (patch) | |
tree | b2b7f8c73b94b4179d5002eaaa30f683b6dc5132 /fs/direct-io.c | |
parent | 16c29b67fb3bbacfc2a71f9e5f7d85728ef45efa (diff) | |
download | linux-exynos-92198f7eaa5df3479341dd8fa20c2c81aa3b1e25.tar.gz linux-exynos-92198f7eaa5df3479341dd8fa20c2c81aa3b1e25.tar.bz2 linux-exynos-92198f7eaa5df3479341dd8fa20c2c81aa3b1e25.zip |
[PATCH] pass iocb to dio_iodone_t
XFS will have to look at iocb->private to fix aio+dio. No other filesystem
is using the blockdev_direct_IO* end_io callback.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/direct-io.c')
-rw-r--r-- | fs/direct-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/direct-io.c b/fs/direct-io.c index 1d55e7e67342..0d06097bc995 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -215,7 +215,7 @@ static struct page *dio_get_page(struct dio *dio) static void dio_complete(struct dio *dio, loff_t offset, ssize_t bytes) { if (dio->end_io && dio->result) - dio->end_io(dio->inode, offset, bytes, dio->map_bh.b_private); + dio->end_io(dio->iocb, offset, bytes, dio->map_bh.b_private); if (dio->lock_type == DIO_LOCKING) up_read(&dio->inode->i_alloc_sem); } |