NFS: Fix another O_DIRECT race
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 13 Dec 2005 21:13:54 +0000 (16:13 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 20 Dec 2005 04:12:09 +0000 (23:12 -0500)
commit29884df0d89c1df0dec3449405bc41569bb44800
treeb836dc3ece80a901d1b7a9e946bf0d51ec0c8c4f
parentb079fa7baa86b47579f3f60f86d03d21c76159b8
NFS: Fix another O_DIRECT race

 Ensure we call unmap_mapping_range() and sync dirty pages to disk before
 doing an NFS direct write.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c
fs/nfs/file.c
fs/nfs/inode.c
include/linux/nfs_fs.h