Whamcloud - gitweb
LU-919 obdclass: remove hard coded 0x5a5a5a
authorNiu Yawei <niu@whamcloud.com>
Wed, 11 Jan 2012 04:24:59 +0000 (20:24 -0800)
committerJohann Lombardi <johann@whamcloud.com>
Wed, 29 Aug 2012 16:19:37 +0000 (12:19 -0400)
commit15133066c209254282e5e4bc3b84f44e7c2c4f24
tree0bdb9fbf7292fbb0b781bbbcefce651b1f973e95
parent7a9fc09e806c7a0aedf4961a252ceec899ea685c
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: Ia1105e48326c20a37d887ba9dc926ea300d97741
Reviewed-on: http://review.whamcloud.com/1954
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/include/lustre_log.h
lustre/include/obd_class.h
lustre/obdclass/genops.c