From: Trond Myklebust Date: Tue, 6 Mar 2018 17:47:08 +0000 (-0500) Subject: NFS: Fix an incorrect type in struct nfs_direct_req X-Git-Tag: v4.19~1440^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9ee65539d3eabd9ade46cca1780e3309ad0f907;p=platform%2Fkernel%2Flinux-rpi3.git NFS: Fix an incorrect type in struct nfs_direct_req 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 --- diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 8c10b05..621c517 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c @@ -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 */