commit | a8ae49917077facbe4ed7b3a89bf025b1cefa0ed | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Thu Jan 14 15:20:45 2016 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 14 16:00:49 2016 -0800 |
tree | 9084e900d1594e8176297fef6dfffdd5e0513db8 | |
parent | 8c9c1701c7c23a57ebfd1a0b27b87053ae43cfb5 [diff] |
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: Geliang 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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>