From: Wei Yongjun Date: Tue, 21 Aug 2012 02:46:05 +0000 (+0800) Subject: eCryptfs: fix to use list_for_each_entry_safe() when delete items X-Git-Tag: v3.8-rc2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bbca57cff7f1b1fd046eebd1e9497a00161c2c1;p=pandora-kernel.git eCryptfs: fix to use list_for_each_entry_safe() when delete items Since we will be removing items off the list using list_del() we need to use a safer version of the list_for_each_entry() macro aptly named list_for_each_entry_safe(). We should use the safe macro if the loop involves deletions of items. Signed-off-by: Wei Yongjun [tyhicks: Fixed compiler err - missing list_for_each_entry_safe() param] Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed