summaryrefslogtreecommitdiffstats
path: root/Documentation/sh
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@Oracle.com>2020-10-17 16:14:06 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-18 09:27:09 -0700
commit3903b55a6117ee5a8c90108beaf8d921474aa05a (patch)
tree4bdc04d5999b35923f276000b8abb60cd919599b /Documentation/sh
parent4dc200cee1950ac3f9b99f0c8d4a750b62958f81 (diff)
downloadlinux-3903b55a6117ee5a8c90108beaf8d921474aa05a.tar.gz
linux-3903b55a6117ee5a8c90108beaf8d921474aa05a.tar.bz2
linux-3903b55a6117ee5a8c90108beaf8d921474aa05a.zip
mm/mmap: add inline vma_next() for readability of mmap code
There are three places that the next vma is required which uses the same block of code. Replace the block with a function and add comments on what happens in the case where NULL is encountered. Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20200818154707.2515169-1-Liam.Howlett@Oracle.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sh')
0 files changed, 0 insertions, 0 deletions