From 01104439032142ee806ace13d4d3ffc675572e8d Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Wed, 23 Jan 2013 13:56:18 +0100 Subject: [PATCH] --- yaml --- r: 352925 b: refs/heads/master c: ced55f38d6bde7c10a14ea51c2edcd51a98575e3 h: refs/heads/master i: 352923: 711f48ddb60f7c63647a5e714435f7e30899d680 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 91e079294977..21490fa6b275 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3b19034d4f4554e39ca244fb28962bbf2ccba046 +refs/heads/master: ced55f38d6bde7c10a14ea51c2edcd51a98575e3 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);