diff options
author | Geliang Tang <geliangtang@163.com> | 2016-01-14 15:20:45 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-14 16:00:49 -0800 |
commit | a8ae49917077facbe4ed7b3a89bf025b1cefa0ed (patch) | |
tree | 9084e900d1594e8176297fef6dfffdd5e0513db8 /mm/compaction.c | |
parent | 8c9c1701c7c23a57ebfd1a0b27b87053ae43cfb5 (diff) | |
download | op-kernel-dev-a8ae49917077facbe4ed7b3a89bf025b1cefa0ed.zip op-kernel-dev-a8ae49917077facbe4ed7b3a89bf025b1cefa0ed.tar.gz |
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>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions