mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-04 12:13:05 +09:00
NFS: Fix an incorrect type in struct nfs_direct_req
commitd9ee65539dupstream. The start offset needs to be of type loff_t. Fixed:5fadeb47dc("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
29060ff7c1
commit
2bca2c58d8
@@ -86,10 +86,10 @@ struct nfs_direct_req {
|
||||
struct nfs_direct_mirror mirrors[NFS_PAGEIO_DESCRIPTOR_MIRROR_MAX];
|
||||
int mirror_count;
|
||||
|
||||
loff_t io_start; /* Start offset for I/O */
|
||||
ssize_t count, /* bytes actually processed */
|
||||
max_count, /* max expected count */
|
||||
bytes_left, /* bytes left to be sent */
|
||||
io_start, /* start of IO */
|
||||
error; /* any reported error */
|
||||
struct completion completion; /* wait for i/o completion */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user