Whamcloud - gitweb
LU-10046 misc: replace LASSERT() with CLASSERT() 56/29256/2
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 29 Sep 2017 03:17:15 +0000 (21:17 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Oct 2017 07:18:58 +0000 (07:18 +0000)
Some code consistency checks are being done at runtime with LASSERT()
when they could be done at compile time with CLASSERT(). This might
miss defects introduced into the code if that particular code path is
not exercised during testing.

Replace LASSERT() with CLASSERT() in such cases.

Style cleanup for related code.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I8dca903109b7151de59afe17fe9ca311119d1b36
Reviewed-on: https://review.whamcloud.com/29256
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

No differences found