]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFS: Fix an incorrect type in struct nfs_direct_req
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 6 Mar 2018 17:47:08 +0000 (12:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Mar 2018 10:17:52 +0000 (11:17 +0100)
commit099bccc187fcd2326d128f72d6d583675faa790b
treee032faf7fa6c3a5ad081666472a160e0f663b622
parent7f56697121b4f25ea92985542f6b8c88bf40812d
NFS: Fix an incorrect type in struct nfs_direct_req

commit d9ee65539d3eabd9ade46cca1780e3309ad0f907 upstream.

The start offset needs to be of type loff_t.

Fixed: 5fadeb47dcc5c ("nfs: count DIO good bytes correctly with mirroring")
Cc: stable@vger.kernel.org # v4.0+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/direct.c