]> git.ipfire.org Git - people/ms/linux.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 3 Apr 2014 08:32:15 +0000 (10:32 +0200)
commit2f786d997db547ad88c6560e7d9f214ab6d5e913
treecca04e5b569396b52e5c805ee897d0c1fcb68f96
parent2fae4cc0d0b46c9ee3b95dfd0d22055066a71736
nfs: defer inode_dio_done call until size update is done

commit 2a009ec98cce440c0992fc9a2353e96cdb0b048b upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/nfs/direct.c