commit | 2507a4fbd48a96bc4236e584252635f8539079df | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Oct 08 09:11:48 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Nov 09 00:16:26 2013 -0500 |
tree | d31719bcacb80dc5b3ccfa99c28e5a2c92602aa6 | |
parent | 1ad67015e619ba4e0b15ed0482d464292fedf263 [diff] |
make dump_emit() use vfs_write() instead of banging at ->f_op->write directly ... and deal with short writes properly - the output might be to pipe, after all; as it is, e.g. no-MMU case of elf_fdpic coredump can write a whole lot more than a page worth of data at one call. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>