Trond Myklebust 39204487db NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
[ Upstream commit 17d8c5d145000070c581f2a8aa01edc7998582ab ]

Initialise the result count to 0 rather than initialising it to the
argument count. The reason is that we want to ensure we record the
I/O stats correctly in the case where an error is returned (for
instance in the layoutstats).

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-09-21 07:15:33 +02:00
..
2018-07-08 15:30:51 +02:00
2019-08-06 19:05:23 +02:00
2019-07-31 07:28:47 +02:00
2018-12-17 09:28:54 +01:00
2018-12-21 14:13:04 +01:00