return 0; 
out: return err; 
static int ubd_add(int n){	struct ubd *dev = &ubd_dev[n];	int err;	if(dev->file == NULL)		return(-ENODEV);	if (ubd_open_dev(dev))		return(-ENODEV);	err = ubd_file_size(dev, &dev->size);	if(err < 0)		return(err);	dev->size = ROUND_BLOCK(dev->size);	err = ubd_new_disk(MAJOR_NR, dev->size, n, &ubd_gendisk[n]);	if(err) 		return(err); 	if(fake_major != MAJOR_NR)		ubd_new_disk(fake_major, dev->size, n, 			     &fake_gendisk[n]);	/* perhaps this should also be under the "if (fake_major)" above */	/* using the fake_disk->disk_name and also the fakehd_set name */	if (fake_ide)		make_ide_entries(ubd_gendisk[n]->disk_name);	ubd_close(dev);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ec7cf783dd6cf5c8fb6b6767560686ed28d1cd6d/ubd_kern.c/clean/arch/um/drivers/ubd_kern.c