diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-11-12 23:10:03 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 03:09:24 (GMT) |
commit | 93be3c2eb3371f022ad88acf1ab6bee8e3c38378 (patch) | |
tree | 9075b8c5f48c38cc2fd11c1eba408981d8f68480 /fs | |
parent | 8120e2e5141a420edee725ff28f18aa264795f7a (diff) | |
download | linux-fsl-qoriq-93be3c2eb3371f022ad88acf1ab6bee8e3c38378.tar.xz |
list: introduce list_last_entry(), use list_{first,last}_entry()
We already have list_first_entry(), it makes sense to also add
list_last_entry() for consistency. And we use both helpers in
list_for_each_*().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions