Thomas Schaefer
ea5003ad66
spl: fix ext4fs_mount return code handling
...
- Despite other ext4 filesystem functions, ext4fs_mount returns
0 in case of error.
- This leads to u-boot crash in case that an SD card
with valid partition table but without ext4 filesystem created
in a partition is found on SD card.
- Fix this by returning a proper error code of '-1' from spl_load_image_ext
function in case of ext4fs_mount error.
Signed-off-by: Thomas Schaefer <thomas.schaefer@kontron.com >
[hthiery: slightly reword the commit message]
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com >
Reviewed-by: Tom Rini <trini@konsulko.com >
2020-07-17 08:51:01 -04:00
..
2020-05-18 17:33:33 -04:00
2020-07-17 08:51:01 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2019-12-02 18:24:58 -05:00
2020-05-18 21:19:23 -04:00
2020-02-05 19:33:46 -07:00
2020-07-07 09:45:07 -04:00
2020-05-18 17:33:33 -04:00
2020-06-25 13:24:12 -04:00
2020-05-18 21:19:18 -04:00
2020-07-17 08:51:01 -04:00
2020-07-17 08:51:01 -04:00
2019-12-02 18:23:13 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-07-08 17:21:46 -04:00
2020-05-18 21:19:18 -04:00
2020-07-09 12:33:24 +08:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 17:33:33 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-06-16 11:36:30 -04:00
2020-05-18 21:19:18 -04:00
2020-06-02 13:06:12 -04:00
2020-05-18 21:19:23 -04:00
2020-07-17 08:51:01 -04:00
2020-05-18 21:19:18 -04:00
2020-06-12 13:14:07 -04:00
2020-06-12 13:14:07 -04:00
2020-07-07 15:37:13 -04:00
2020-05-18 21:19:23 -04:00
2020-07-09 18:57:22 -06:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-07-09 18:57:22 -06:00
2020-07-09 18:57:22 -06:00
2020-07-09 18:57:22 -06:00
2020-05-18 17:33:33 -04:00
2020-04-26 14:23:55 -06:00
2020-05-18 21:19:18 -04:00
2020-01-24 23:06:49 +05:30
2020-05-07 09:01:42 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-06-28 01:03:09 +02:00
2020-05-18 21:19:18 -04:00
2020-01-24 23:06:49 +05:30
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00