Whamcloud - gitweb
LU-12923 ldlm: Use BUILD_BUG_ON() for ldlm_resource.c 20/36720/2
authorArshad Hussain <arshad.super@gmail.com>
Tue, 29 Oct 2019 15:39:56 +0000 (21:09 +0530)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Dec 2019 01:15:48 +0000 (01:15 +0000)
commitdb25e324ad6b59b75db001a4f86d8467bed81ad2
tree157819e23390435687a9cf3b87735a568f41ed19
parent0978020c92f0b2b623f12cf2e5c9a9e0e7fc6411
LU-12923 ldlm: Use BUILD_BUG_ON() for ldlm_resource.c

This patch replaces all CLASSERT() with kernel defined
BUILD_BUG_ON() for file lustre/ldlm/ldlm_resource.c

Test-Parameters: trivial
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Change-Id: I16e32c16de09ef020ed0dad1775403d9d3c55ef6
Reviewed-on: https://review.whamcloud.com/36720
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ldlm/ldlm_resource.c