mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
ubifsmount fails due to not initialized list
ubifsmount is not working and causes an access with a pointer set to zero because the ubifs_fs_type is not initialized correctly. Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
3699c28e6d
commit
6865168359
1 changed files with 1 additions and 0 deletions
|
@ -1178,6 +1178,7 @@ int ubifs_mount(char *vol_name)
|
|||
ubifs_umount(ubifs_sb->s_fs_info);
|
||||
|
||||
INIT_LIST_HEAD(&ubifs_infos);
|
||||
INIT_LIST_HEAD(&ubifs_fs_type.fs_supers);
|
||||
|
||||
/*
|
||||
* Mount in read-only mode
|
||||
|
|
Loading…
Reference in a new issue