Whamcloud - gitweb
LU-12603 ldlm: Check cancel lock count for correctness 06/35806/2
authorOleg Drokin <green@whamcloud.com>
Sat, 17 Aug 2019 05:36:07 +0000 (01:36 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Sep 2019 01:34:13 +0000 (01:34 +0000)
commit7cc43aef98f6a759cbc5ae572123b44803c0ccd2
tree32616cf034eb51cb6da463ba7f7454cc05299d0a
parent268edb13d769994c4841864034d72f0bd7b36e12
LU-12603 ldlm: Check cancel lock count for correctness

Make sure the number of locks we are going to cancel fits into
the supplied buffer first.

Change-Id: I93887133532bf7ee2be27114b1972aa64e06623c
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reported-by: Alibaba Cloud <yunye.ry@alibaba-inc.com>
Reviewed-on: https://review.whamcloud.com/35806
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yunye Ry <yunye.ry@alibaba-inc.com>
lustre/ldlm/ldlm_lockd.c