nfs: defer inode_dio_done call until size update is done
authorChristoph Hellwig <hch@infradead.org>
Thu, 14 Nov 2013 16:50:29 +0000 (08:50 -0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 13 Jan 2014 22:29:48 +0000 (17:29 -0500)
commit2a009ec98cce440c0992fc9a2353e96cdb0b048b
treee2cb12a379834aa6283b1a5b01b52ab542e2885c
parent9811cd57f4c6b5b60ec104de68a88303717e3106
nfs: defer inode_dio_done call until size update is done

We need to have the I/O fully finished before telling the truncate code
that we are done.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/direct.c