Whamcloud - gitweb
LU-1832 ldlm: fix double list add
authorPeng Tao <tao.peng@emc.com>
Wed, 5 Sep 2012 07:51:04 +0000 (15:51 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 8 Nov 2012 23:54:59 +0000 (18:54 -0500)
commit892481ffbe558e29141e9dfe446cf90eb5644ccd
tree1c0c891382b8b43141821e54264f20af157a876d
parentb7d13e54a3e04ba76ae852d63d37ebb59919f1ad
LU-1832 ldlm: fix double list add

Adding list to itself will cause kernel warning if
CONFIG_DEBUG_LIST is on.

Signed-off-by: Peng Tao <tao.peng@emc.com>
Change-Id: Ibaf135c2c6ca6cc8ee4f0e6f270d738c6964fddb
Reviewed-on: http://review.whamcloud.com/3880
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Keith Mannthey <kemannthey@gmail.com>
lustre/ldlm/ldlm_lock.c