Whamcloud - gitweb
LU-12603 ldlm: Check cancel lock count for correctness 08/36108/3
authorOleg Drokin <green@whamcloud.com>
Sat, 17 Aug 2019 05:36:07 +0000 (01:36 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Sep 2019 03:52:25 +0000 (03:52 +0000)
commit8dd7cf809c08ac8bdb93599bb3c4ea84693941a3
tree2b8799d6411186875f2ad7d5c5a2d0575b05b0b7
parentb574f5f88878167b846a90ab09ac3b98958d52e4
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.

Lustre-change: https://review.whamcloud.com/35806
Lustre-commit: 7cc43aef98f6a759cbc5ae572123b44803c0ccd2

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