Whamcloud - gitweb
lassert: 0. add LINVRNT() macro for more expensive checks that are disabled by defaul...
authornikita <nikita>
Fri, 8 Aug 2008 13:44:30 +0000 (13:44 +0000)
committernikita <nikita>
Fri, 8 Aug 2008 13:44:30 +0000 (13:44 +0000)
commit9458f991eb90b4cfef3836dd37ae6d1fe96409fd
tree573ba14789b558f19040ef9bc0cb36ea5de5af77
parent0a4308c2d82c2f5d3089f57b2e8af977682e91c5
lassert: 0. add LINVRNT() macro for more expensive checks that are disabled by default; 1. replace ((void)0) with ((void)!!sizeof(exp)) so that expression is used (though not evaluated) even when assertions are disabled. !! is for things --like bitfields-- that do not have sizeof.
libcfs/include/libcfs/libcfs_private.h