NFS: Cleanup nfs_direct_complete()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 23 Jun 2016 13:29:47 +0000 (09:29 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 5 Jul 2016 23:11:04 +0000 (19:11 -0400)
commitf7b5c340aca87d736a6b15aa40bf135f1baab011
tree3fa0e46246961b406c46f853a29d7983fe01ceca
parenta5864c999de6703f7ce908f72337568520c6cad3
NFS: Cleanup nfs_direct_complete()

There is only one caller that sets the "write" argument to true,
so just move the call to nfs_zap_mapping() and get rid of the
now redundant argument.

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