summaryrefslogtreecommitdiff
path: root/env/ext4.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-11-17 08:38:05 -0500
committerTom Rini <trini@konsulko.com>2023-11-17 08:38:05 -0500
commitae7ec8b0be41b59ef323f7531c0fe6745e8fef45 (patch)
treed3b5bff2626d743a15533b8400985974817f1cc3 /env/ext4.c
parent6c1608b1ffb372d4dabf1b879e68428712353709 (diff)
parentb83fae673a9cd9795e531883936c1468e75510a5 (diff)
Merge branch '2023-11-16-assorted-updates' into next
- squashfs improvements, remove common.h in some places, assorted code fixes, fix a few CONFIG symbol names in Kconfig files, bring in linux's <linux/time.h> conversion functions, poplar updates, bcb improvements.
Diffstat (limited to 'env/ext4.c')
-rw-r--r--env/ext4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/env/ext4.c b/env/ext4.c
index 47e05a48919..da26705b8da 100644
--- a/env/ext4.c
+++ b/env/ext4.c
@@ -77,7 +77,7 @@ static int env_ext4_save_buffer(env_t *env_new)
dev = dev_desc->devnum;
ext4fs_set_blk_dev(dev_desc, &info);
- if (!ext4fs_mount(info.size)) {
+ if (!ext4fs_mount()) {
printf("\n** Unable to use %s %s for saveenv **\n",
ifname, dev_and_part);
return 1;
@@ -160,7 +160,7 @@ static int env_ext4_load(void)
dev = dev_desc->devnum;
ext4fs_set_blk_dev(dev_desc, &info);
- if (!ext4fs_mount(info.size)) {
+ if (!ext4fs_mount()) {
printf("\n** Unable to use %s %s for loading the env **\n",
ifname, dev_and_part);
goto err_env_relocate;