]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: count correct array for mnt3_counts array size
authorEryu Guan <eguan@redhat.com>
Tue, 18 Jul 2017 05:32:32 +0000 (13:32 +0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 21 Jul 2017 12:49:57 +0000 (08:49 -0400)
commitd24b6868a9526f46d158b90a829b1c452bfabff9
treee8df3a94d1df437bb83f50a332860324fb276351
parentdd67e8519d51a3517a2c1733220a558de49a2bb3
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: f4f82df43f76 ("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>
fs/nfs/mount_clnt.c