]> git.baikalelectronics.ru Git - kernel.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)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 8 Mar 2018 17:56:31 +0000 (12:56 -0500)
commit5ae97865ff5c85726d66c1054d2304d2822c82fc
treeb7154dc68f0ab293bd5aca8728dc77ba9c5472b9
parenta498659bd4a097b9d7c1d70d16a85ad32f588b5d
NFS: Fix an incorrect type in struct nfs_direct_req

The start offset needs to be of type loff_t.

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