commit | 1d59d61f606547f0712aa6971f91f71154071c99 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu May 31 12:22:33 2012 -0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 31 11:41:36 2012 -0700 |
tree | cb2fd4b9ce3e3ee9440d566d43ea350221edfc8e | |
parent | 2d117403b30cd7301af60d7d54b279a9f566d10d [diff] |
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 <Trond.Myklebust@netapp.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Fred Isaman <iisaman@netapp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>