From: Trond Myklebust Date: Thu, 31 May 2012 16:22:33 +0000 (-0400) Subject: NFS: Ensure that setattr and getattr wait for O_DIRECT write completion X-Git-Tag: v3.5-rc1~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d59d61f606547f0712aa6971f91f71154071c99;p=pandora-kernel.git NFS: Ensure that setattr and getattr wait for O_DIRECT write completion Use the same mechanism as the block devices are using, but move the helper functions from fs/direct-io.c into fs/inode.c to remove the dependency on CONFIG_BLOCK. Signed-off-by: Trond Myklebust Cc: Christoph Hellwig Cc: Al Viro Cc: Fred Isaman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed