[PATCH MTD-UTILS v2 3/4] ubiattach: introduce max_beb_per1024 in UBI_IOCATT

Richard Genoud richard.genoud at gmail.com
Mon Aug 27 06:19:58 EDT 2012


2012/8/27 Artem Bityutskiy <dedekind1 at gmail.com>:
> On Mon, 2012-08-27 at 09:23 +0200, Richard Genoud wrote:
>> Could you push your git to mtd-utils so that I can test the final
>> version, please ?
>
> It is pushed, the latest commit is:
>
> commit 9d8751b3f5c6358b6167c38899f1e41498d24a45
> Author: Richard Genoud <richard.genoud at gmail.com>
> Date:   Wed Aug 22 18:04:37 2012 +0200
>
>     ubiattach: fail if kernel ignores max_beb_per1024
>
>     If the kernel doesn't know the max_beb_per1024 parameter in the attach
>     ioctl, but the call still succeeded ubi_attach and ubi_attach_mtd will
>     return 1 instead of 0.
>
>     In this case, the ubiattach command will detach the device and fail with
>     an error message.
>
>     Signed-off-by: Richard Genoud <richard.genoud at gmail.com>
>     Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>

hum.... I must be looking at the wrong git tree.
I had this one : http://git.infradead.org/mtd-utils.git
with the last commit "UBI: sync ubi-user.h with kernel v3.6-rc1"
312e784fb06eaafff4cfebe29c74b8d0ecc09167



More information about the linux-mtd mailing list