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

Artem Bityutskiy dedekind1 at gmail.com
Mon Aug 27 05:39:37 EDT 2012


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>


-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120827/97176e9f/attachment.sig>


More information about the linux-mtd mailing list