Skip to content
Commit a8ae4991 authored by Geliang Tang's avatar Geliang Tang Committed by Linus Torvalds
Browse files

mm/swapfile.c: use list_{next,first}_entry



To make the intention clearer, use list_{next,first}_entry instead of
list_entry().

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Jerome Marchand <jmarchan@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8c9c1701
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment