Whamcloud - gitweb
LU-12923 utils: Use BUILD_BUG_ON() for wirehdr.c & wirecheck.c 11/36711/4
authorArshad Hussain <arshad.super@gmail.com>
Tue, 29 Oct 2019 12:55:04 +0000 (18:25 +0530)
committerOleg Drokin <green@whamcloud.com>
Fri, 20 Dec 2019 03:27:15 +0000 (03:27 +0000)
commit5a3f9f4cc3c31b0f521932df80a9ac541edec073
treed0fd40c22f5ae6ea0a27fbdeec8c552e4bb95ca5
parent3e8fa8a7396cd029cb0d7714a324343eed7f535e
LU-12923 utils: Use BUILD_BUG_ON() for wirehdr.c & wirecheck.c

This patch replaces all CLASSERT() with user defined
BUILD_BUG_ON() for file lustre/utils/wirehdr.c and
lustre/utils/wirecheck.c

Test-Parameters: trivial
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Change-Id: If46603158a9ad311762fe51839000c39a0b15307
Reviewed-on: https://review.whamcloud.com/36711
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/wirecheck.c
lustre/utils/wirehdr.c