]> git.baikalelectronics.ru Git - kernel.git/commit
mm/vmalloc.c: use rb_entry_safe
authorGeliang Tang <geliangtang@gmail.com>
Wed, 22 Feb 2017 23:41:54 +0000 (15:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Feb 2017 00:41:27 +0000 (16:41 -0800)
commit4583e77310a2edf39ee91099fba3cd153a22a77b
tree6292413ce4f65107d1dffaf64f4773aa56b12443
parent13ad59df67f19788f6c22985b1a33e466eceb643
mm/vmalloc.c: use rb_entry_safe

Use rb_entry_safe() instead of open-coding it.

Link: http://lkml.kernel.org/r/81bb9820e5b9e4a1c596b3e76f88abf8c4a76cb0.1482221947.git.geliangtang@gmail.com
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c