staging: lustre: fix to use list_for_each_entry_safe() when delete items
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 17 May 2013 08:27:05 +0000 (16:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2013 22:05:07 +0000 (15:05 -0700)
commitf13ab92effb94c8fc5eade75f6f246facd7ef5be
treee34551bf50152610b473a9cf6ec146a55283efea
parent49c144c8630573c5cf3534842ff30ce7232d9487
staging: lustre: fix to use list_for_each_entry_safe() when delete items

Since we will remove items off the list using list_del_init() we need
to use a safe version of the list_for_each_entry() macro aptly named
list_for_each_entry_safe().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_cache.c
This page took 0.024571 seconds and 5 git commands to generate.