From e42f36c3789f1027dca415e31e509c06b544bd94 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Wed, 23 Jan 2013 13:56:18 +0100 Subject: [PATCH] --- yaml --- r: 349351 b: refs/heads/master c: 4b05d09c18d9aa62d2e7fb4b057f54e5a38963f5 h: refs/heads/master i: 349349: b5f5f235c13b22d83e26569ad6758c81df495b19 349347: 90d02eafaf53556b74115cf3f3b467b1a2415199 349343: c4cf135b00aafc1bbb1a03f05390b9d34c6084b2 v: v3 --- [refs] | 2 +- trunk/fs/xfs/xfs_aops.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 90956683bd34..10f3a4cd01ad 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9f87832a82923943aaab38b8d53658af134bbfa4 +refs/heads/master: 4b05d09c18d9aa62d2e7fb4b057f54e5a38963f5 diff --git a/trunk/fs/xfs/xfs_aops.c b/trunk/fs/xfs/xfs_aops.c index 4111a40ebe1a..5f707e537171 100644 --- a/trunk/fs/xfs/xfs_aops.c +++ b/trunk/fs/xfs/xfs_aops.c @@ -86,11 +86,11 @@ xfs_destroy_ioend( } if (ioend->io_iocb) { + inode_dio_done(ioend->io_inode); if (ioend->io_isasync) { aio_complete(ioend->io_iocb, ioend->io_error ? ioend->io_error : ioend->io_result, 0); } - inode_dio_done(ioend->io_inode); } mempool_free(ioend, xfs_ioend_pool);