coredump: get rid of coredump_params->written
authorOmar Sandoval <osandov@fb.com>
Wed, 11 May 2016 22:16:36 +0000 (15:16 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 May 2016 20:55:50 +0000 (16:55 -0400)
commita00839395103d5e2d132a6c4a9680256580ed3d1
treef45b3fdcdfcf65d722d3cf083527f876ebd1ea0d
parent88ae4ab9802eaa8e400e611f85883143d89d6b61
coredump: get rid of coredump_params->written

cprm->written is redundant with cprm->file->f_pos, so use that instead.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/platforms/cell/spufs/coredump.c
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
fs/coredump.c
include/linux/binfmts.h