diff options
author | Christopher Haster <chaster@utexas.edu> | 2022-03-21 07:09:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 07:09:04 +0300 |
commit | 2d6f4ead13f3ad66236a89da343ce79e5cc0b4d2 (patch) | |
tree | 85d6074fa736aa39c9d4145ad030585889c81ba8 /lfs.c | |
parent | 3d1b89b41a4785821fae9d6c858f52a7e61c9c65 (diff) | |
parent | 1363c9f9d411e59f8ac8f509e5bf51c2ef5315bd (diff) |
Merge pull request #620 from XinStellaris/master
fix bug:lfs_alloc will alloc one block repeatedly in multiple split
Diffstat (limited to 'lfs.c')
-rw-r--r-- | lfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1522,7 +1522,6 @@ static int lfs_dir_split(lfs_t *lfs, lfs_mdir_t *dir, const struct lfs_mattr *attrs, int attrcount, lfs_mdir_t *source, uint16_t split, uint16_t end) { // create tail directory - lfs_alloc_ack(lfs); lfs_mdir_t tail; int err = lfs_dir_alloc(lfs, &tail); if (err) { |