Whamcloud - gitweb
LU-919 obdclass: remove hard coded 0x5a5a5a
authorNiu Yawei <niu@whamcloud.com>
Wed, 11 Jan 2012 03:59:10 +0000 (19:59 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Feb 2012 00:58:23 +0000 (19:58 -0500)
commit7438e49cb825729708ec51fb4463b4ee976115cd
treecee5a5a98743df159428ab2c573457d3e5509cba
parentbe1dbc1813f3851401c5bba85dbfb591c9768683
LU-919 obdclass: remove hard coded 0x5a5a5a

We assert atomic_t value with hard coded 0x5a5a5a in several places,
which could result in false assertion failure when the reference count
getting very large in some extreme case.

The hard coded 0x5a5a5a should be replaced by LI_POISON.

Signed-off-by: Bruno Faccini <bruno.faccini@bull.net>
Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: Idc271621017d071b3e2dce5d0ec6fb854127a955
Reviewed-on: http://review.whamcloud.com/1953
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_log.h
lustre/obdclass/genops.c
lustre/obdclass/llog_obd.c