/* These are the only things you should do on a core-file: use only these macros to write out all the necessary info.  */
static int dump_write(struct file *file, const void *addr, int nr)
/* These are the only things you should do on a core-file: use only these macros to write out all the necessary info.  */
static int dump_write(struct file *file, const void *addr, int nr)
{
	return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
}