commit | 0d576d20ccdeffbb7ba28053107fa6f838b67f3a | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Thu Jan 14 15:21:49 2016 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 14 16:00:49 2016 -0800 |
tree | fe024b2dc63a6010d49a852c7f21e03268962ddb | |
parent | 0e41e277971799bad2764ad4e6284817e9a6da5b [diff] |
mm/swapfile.c: use list_for_each_entry_safe in free_swap_count_continuations Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang <geliangtang@163.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>