Zhihao Cheng,

----- Ursprüngliche Mail -----
> +     else if (attr == &dev_fastmap)
> +             ret = sprintf(buf, "%d\n", ubi->fm ? 1 : 0);
>       else

I fear this is not correct. ubi->fm is an internal data structure
of UBI.
UBI sets it to NULL while it updates fastmap, and updates it later.
So userspace would see false negatives.

Thanks,
//richard

Reply via email to