NFS: Add a helper to sync both O_DIRECT and buffered writes
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 25 Mar 2015 20:38:33 +0000 (16:38 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Mar 2015 16:39:36 +0000 (12:39 -0400)
commit4d346bea8f0bf6d6351037899586a85435c15b9b
tree0f9013afeb766093dd8f1244e96259a5b844e05e
parent67af7611ec57dbcbc96f9d9daa4d3c7b0999aa73
NFS: Add a helper to sync both O_DIRECT and buffered writes

Then apply it to nfs_setattr() and nfs_getattr().

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/inode.c