]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/swapfile.c: use list_{next,first}_entry
authorGeliang Tang <geliangtang@163.com>
Thu, 14 Jan 2016 23:20:45 +0000 (15:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commita8ae49917077facbe4ed7b3a89bf025b1cefa0ed
tree9084e900d1594e8176297fef6dfffdd5e0513db8
parent8c9c1701c7c23a57ebfd1a0b27b87053ae43cfb5
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>
mm/swapfile.c