NFS: Fix up O_DIRECT results
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 17 Jun 2016 20:48:22 +0000 (16:48 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 24 Jun 2016 16:01:00 +0000 (12:01 -0400)
commitd2a7de0b34cd255f23d4b7a7f065677f4b1c15f2
tree7abc61c17cb165cd70783488655d0931b9b06149
parentdd1beb3d16f6a10683b84b89a4644065c43910f3
NFS: Fix up O_DIRECT results

if we read or wrote something, we must report it

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/direct.c