Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 960b35d0 authored by z00189512's avatar z00189512 Committed by Richard Weinberger
Browse files

UBI: Modify wrong comment in ubi_leb_map function.

parent 1e0a74f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -708,7 +708,7 @@ int ubi_leb_map(struct ubi_volume_desc *desc, int lnum)
	struct ubi_volume *vol = desc->vol;
	struct ubi_device *ubi = vol->ubi;

	dbg_gen("unmap LEB %d:%d", vol->vol_id, lnum);
	dbg_gen("map LEB %d:%d", vol->vol_id, lnum);

	if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
		return -EROFS;