diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-08 15:26:08 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-09 06:16:26 +0100 |
commit | 9b56d54380adb5fef71f687109bbd6f8413d694f (patch) | |
tree | 006cd31736372a9f7c9d4e6d7b99a8dd1748d49a /arch/x86/ia32 | |
parent | make dump_emit() use vfs_write() instead of banging at ->f_op->write directly (diff) | |
download | linux-9b56d54380adb5fef71f687109bbd6f8413d694f.tar.xz linux-9b56d54380adb5fef71f687109bbd6f8413d694f.zip |
dump_skip(): dump_seek() replacement taking coredump_params
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/ia32')
-rw-r--r-- | arch/x86/ia32/ia32_aout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/ia32/ia32_aout.c b/arch/x86/ia32/ia32_aout.c index 9e26e9e85576..d21ff89207cd 100644 --- a/arch/x86/ia32/ia32_aout.c +++ b/arch/x86/ia32/ia32_aout.c @@ -187,7 +187,7 @@ static int aout_core_dump(struct coredump_params *cprm) if (!dump_emit(cprm, &dump, sizeof(dump))) goto end_coredump; /* Now dump all of the user data. Include malloced stuff as well */ - if (!dump_seek(cprm->file, PAGE_SIZE - sizeof(dump))) + if (!dump_skip(cprm, PAGE_SIZE - sizeof(dump))) goto end_coredump; /* now we start writing out the user space info */ set_fs(USER_DS); |