ubifs: Allow ubifsmount volume reference by number
UBI can mount volumes by name or number The current code forces you
to name the volume by prepending every name with "ubi:".
>From fs/ubifs/super.c
* There are several ways to specify UBI volumes when mounting UBIFS:
* o ubiX_Y - UBI device number X, volume Y;
* o ubiY - UBI device number 0, volume Y;
* o ubiX:NAME - mount UBI device X, volume with name NAME;
* o ubi:NAME - mount UBI device 0, volume with name NAME.
Now any name passed in any of the above forms are allowed.
Also update the configs that referenced ubifsmount.
Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com>
Showing
- fs/ubifs/super.c 1 addition, 3 deletionsfs/ubifs/super.c
- include/configs/apx4devkit.h 1 addition, 1 deletioninclude/configs/apx4devkit.h
- include/configs/cam_enc_4xx.h 1 addition, 1 deletioninclude/configs/cam_enc_4xx.h
- include/configs/dockstar.h 1 addition, 1 deletioninclude/configs/dockstar.h
- include/configs/ea20.h 3 additions, 3 deletionsinclude/configs/ea20.h
- include/configs/ib62x0.h 1 addition, 1 deletioninclude/configs/ib62x0.h
- include/configs/iconnect.h 1 addition, 1 deletioninclude/configs/iconnect.h
- include/configs/omap3_pandora.h 2 additions, 1 deletioninclude/configs/omap3_pandora.h
- include/configs/tricorder.h 1 addition, 1 deletioninclude/configs/tricorder.h
- include/configs/x600.h 1 addition, 1 deletioninclude/configs/x600.h
Please register or sign in to comment