summaryrefslogtreecommitdiffstats
path: root/fs/coredump.c
diff options
context:
space:
mode:
authorDan Carpenter2013-01-20 16:02:58 +0100
committerJaegeuk Kim2013-01-22 02:49:00 +0100
commitd8b79b2f94600262fcfbffbe3df7fd3c83c6c51b (patch)
treecfb822b441a239f0b94fc96042b7d4a11043c747 /fs/coredump.c
parentf2fs: add comments of start_bidx_of_node (diff)
downloadkernel-qcow2-linux-d8b79b2f94600262fcfbffbe3df7fd3c83c6c51b.tar.gz
kernel-qcow2-linux-d8b79b2f94600262fcfbffbe3df7fd3c83c6c51b.tar.xz
kernel-qcow2-linux-d8b79b2f94600262fcfbffbe3df7fd3c83c6c51b.zip
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 <dan.carpenter@oracle.com> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/coredump.c')
0 files changed, 0 insertions, 0 deletions