commit | 593bc695a1102a540f1613c651e73693b17a7343 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Tue Feb 06 15:37:02 2018 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Feb 06 18:32:43 2018 -0800 |
tree | a8a30f0ee16db234ad77604115df86243f7ee640 | |
parent | ac7f1061c2c11bb8936b1b6a94cdb48de732f7a4 [diff] |
fs/proc/vmcore.c: simpler /proc/vmcore cleanup Iterators aren't necessary as you can just grab the first entry and delete it until no entries left. Link: http://lkml.kernel.org/r/20171121191121.GA20757@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>