summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-07-04 11:59:58 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-07-30 19:19:40 +0200
commit0914bb965e38a055e9245637aed117efbe976e91 (patch)
tree8db52786b17aeff3fb8c9393f8c6d412ba32d2f5 /net/sunrpc
parentnfs: Referrals not inheriting proto setting from parent (diff)
downloadlinux-0914bb965e38a055e9245637aed117efbe976e91.tar.xz
linux-0914bb965e38a055e9245637aed117efbe976e91.zip
pnfs/blocklayout: off by one in bl_map_stripe()
"dev->nr_children" is the number of children which were parsed successfully in bl_parse_stripe(). It could be all of them and then, in that case, it is equal to v->stripe.volumes_count. Either way, the > should be >= so that we don't go beyond the end of what we're supposed to. Fixes: 5c83746a0cf2 ("pnfs/blocklayout: in-kernel GETDEVICEINFO XDR parsing") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: stable@vger.kernel.org # 3.17+ Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions