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, 25 Jan 2012 14:21:30 +0000 (09:21 -0500)
commitafe043c883c7b833a702dfe00d3814f0e18d3942
treedd7f561b4ce93f5f68cad2d328730e7292aea431
parent4ac9f1ad9ca68de0df7ce0d6451c29a5ff3be1b9
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