static int get_bitmap_file(mddev_t * mddev, void * arg) 
static int get_bitmap_file(mddev_t * mddev, void __user * arg) 
static int get_bitmap_file(mddev_t * mddev, void * arg){	mdu_bitmap_file_t *file = NULL; /* too big for stack allocation */	char *ptr, *buf = NULL;	int err = -ENOMEM;	file = kmalloc(sizeof(*file), GFP_KERNEL);	if (!file)		goto out;	/* bitmap disabled, zero the first byte and copy out */	if (!mddev->bitmap || !mddev->bitmap->file) {		file->pathname[0] = '\0';		goto copy_out;	}	buf = kmalloc(sizeof(file->pathname), GFP_KERNEL);	if (!buf)		goto out;	ptr = file_path(mddev->bitmap->file, buf, sizeof(file->pathname));	if (!ptr)		goto out;	strcpy(file->pathname, ptr);copy_out:	err = 0;	if (copy_to_user(arg, file, sizeof(*file)))		err = -EFAULT;out:	kfree(buf);	kfree(file);	return err;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/87162a28acceda05dadf10a8333183f6d2b55265/md.c/buggy/drivers/md/md.c