[PATCH] cmd: ubi: don't allow to rename a volume to a name that already exist

Tom Rini trini at konsulko.com
Tue Jan 5 13:53:49 CET 2021


On Wed, Dec 23, 2020 at 03:33:07PM +0100, Philippe Reynes wrote:

> This commits add a check on the command ubi rename. This check avoids
> to rename a volume to with a name that is already used on another ubi
> volume. If two volumes has the same name, then the ubi device can't be
> mounted anymore.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210105/e0ca38bd/attachment.sig>


More information about the U-Boot mailing list