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

UBI: Modify wrong comment in ubi_leb_map function.

Signed-off-by: default avatarz00189512 <abc.zhangliang@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 1e0a74f1
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment