aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2017-02-24 23:00:20 +0000
committerLinus Torvalds <[email protected]>2017-02-25 01:46:56 +0000
commita0a07b87f3942fdee7692914b36576e009e2d434 (patch)
tree9a0b2cc6c820ada2db8d66ba74fff319ac0bf10c /fs/proc/root.c
parentproc: use rb_entry() (diff)
downloadkernel-a0a07b87f3942fdee7692914b36576e009e2d434.tar.gz
kernel-a0a07b87f3942fdee7692914b36576e009e2d434.zip
proc: less code duplication in /proc/*/cmdline
After staring at this code for a while I've figured using small 2-entry array describing ARGV and ENVP is the way to address code duplication critique. Link: http://lkml.kernel.org/r/20170105185724.GA12027@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions