From: Dan Carpenter Date: Sun, 20 Jan 2013 15:02:58 +0000 (+0300) Subject: f2fs: use _safe() version of list_for_each X-Git-Tag: v3.8-rc5~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8b79b2f94600262fcfbffbe3df7fd3c83c6c51b;p=pandora-kernel.git f2fs: use _safe() version of list_for_each This is calling list_del() inside a loop which is a problem when we try move to the next item on the list. I've converted it to use the _safe version. And also, as a cleanup, I've converted it to use list_for_each_entry instead of list_for_each. Signed-off-by: Dan Carpenter Reviewed-by: Dmitry Torokhov Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed