Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <geky@geky.net>2022-11-10 19:32:30 +0300
committerGitHub <noreply@github.com>2022-11-10 19:32:30 +0300
commit6a53d76e90af33f0656333c1db09bd337fa75d23 (patch)
tree0aaa773e30366b34b36e6a60c9776a0755eb5c3c
parent70298ee988125860d2b2f23602e27f3bcf3761d5 (diff)
parentd08f949afdeae0af84989330cc571ae91ed10838 (diff)
Merge pull request #744 from littlefs-project/fix-fetchmatch-err-pathv2.5.1
Fix lfs_dir_fetchmatch not propogating bd errors correctly in one case
-rw-r--r--lfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lfs.c b/lfs.c
index 16437de..26280fa 100644
--- a/lfs.c
+++ b/lfs.c
@@ -1157,6 +1157,7 @@ static lfs_stag_t lfs_dir_fetchmatch(lfs_t *lfs,
dir->erased = false;
break;
}
+ return err;
}
lfs_pair_fromle32(temptail);
}