*/
count = err;
+ vol->updating = 0;
err = ubi_check_volume(ubi, vol->vol_id);
if (err < 0)
return err;
revoke_exclusive(desc, UBI_READWRITE);
}
- *offp += count;
return count;
}
err = ubi_start_update(ubi, vol->vol_id, bytes);
if (bytes == 0)
revoke_exclusive(desc, UBI_READWRITE);
-
- file->f_pos = 0;
break;
}