View | Details | Raw Unified | Return to bug 215965 | Differences between
and this patch

Collapse All | Expand All

(-)a/drivers/mtd/ubi/vmt.c (-1 / +1 lines)
Lines 289-295 int ubi_create_volume(struct ubi_device *ubi, struct ubi_mkvol_req *req) Link Here
289
289
290
	memcpy(vtbl_rec.name, vol->name, vol->name_len);
290
	memcpy(vtbl_rec.name, vol->name, vol->name_len);
291
291
292
	err = ubi_change_vtbl_record(ubi, vol_id, &vtbl_rec);
292
	err = -ENOMEM;
293
	if (err)
293
	if (err)
294
		goto out_sysfs;
294
		goto out_sysfs;
295
295

Return to bug 215965