Whamcloud - gitweb
b=23289 cleanup assertion on atomic
authorJian Yu <jian.yu@oracle.com>
Mon, 29 Nov 2010 13:37:56 +0000 (21:37 +0800)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Wed, 1 Dec 2010 01:45:33 +0000 (04:45 +0300)
commit80da07e3994946f85cc14f32888ed0c8ffd5d39e
tree06164e470c9e653336f32a33b57abe24aa28dde5
parenta70d01815dabfc8e3453bd9f11562bbe0cb0c1d7
b=23289 cleanup assertion on atomic

Remove assertion on atomic from addref functions, which is less helpful,
also, add macros to reduce atomic_read() in assertion.

o=Liang Zhen
i=andreas.dilger
i=mikhail.pershin
i=vitaly.fertman
libcfs/include/libcfs/libcfs_private.h
lnet/klnds/o2iblnd/o2iblnd.h
lustre/include/lustre_log.h
lustre/include/obd_class.h
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_resource.c
lustre/obdclass/genops.c
lustre/ptlrpc/sec.c
lustre/ptlrpc/sec_null.c