diff options
author | Geliang Tang <geliangtang@163.com> | 2016-01-15 00:19:32 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-15 01:00:49 +0100 |
commit | 146693471f1df44115cf4aaf13c33618619ad855 (patch) | |
tree | 3bcdc95d68d963b87582faf937999d28f954e269 /fs/gfs2/glops.c | |
parent | mm, procfs: breakdown RSS for anon, shmem and file in /proc/pid/status (diff) | |
download | linux-146693471f1df44115cf4aaf13c33618619ad855.tar.xz linux-146693471f1df44115cf4aaf13c33618619ad855.zip |
mm, thp: use list_first_entry_or_null()
Simplify the code with list_first_entry_or_null().
Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/gfs2/glops.c')
0 files changed, 0 insertions, 0 deletions