commit | ecc7b435d2beb025d7506af74cf749af2cef5734 | [log] [tgz] |
---|---|---|
author | Eryu Guan <eguan@redhat.com> | Tue Jul 18 13:32:32 2017 +0800 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Fri Jul 21 08:49:57 2017 -0400 |
tree | e8df3a94d1df437bb83f50a332860324fb276351 | |
parent | 213297369cf4900eba906dd32ce845074e30f487 [diff] |
nfs: count correct array for mnt3_counts array size Array size of mnt3_counts should be the size of array mnt3_procedures, not mnt_procedures, though they're same in size right now. Found this by code inspection. Fixes: 1c5876ddbdb4 ("sunrpc: move p_count out of struct rpc_procinfo") Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <eguan@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>