Skip to content

Commit 1d27cea

Browse files
committed
Bump erofs-utils to 1.8.10
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
1 parent 196faca commit 1d27cea

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/overlaybd/tar/erofs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include(FetchContent)
33
FetchContent_Declare(
44
erofs-utils
55
GIT_REPOSITORY https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
6-
GIT_TAG eec6f7a2755dfccc8f655aa37cf6f26db9164e60
6+
GIT_TAG 51b5939b5f783221310d25146e6a2019ba8129b6
77
)
88

99
FetchContent_MakeAvailable(erofs-utils)

src/overlaybd/tar/erofs/liberofs.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ int erofs_mkfs(struct erofs_mkfs_cfg *mkfs_cfg)
3434
struct erofs_sb_info *sbi;
3535
struct erofs_buffer_head *sb_bh;
3636
struct erofs_inode *root = NULL;
37-
erofs_blk_t nblocks;
3837

3938
erofstar = mkfs_cfg->erofstar;
4039
sbi = mkfs_cfg->sbi;
@@ -115,7 +114,7 @@ int erofs_mkfs(struct erofs_mkfs_cfg *mkfs_cfg)
115114
erofs_iput(root);
116115
root = NULL;
117116

118-
err = erofs_writesb(sbi, sb_bh, &nblocks);
117+
err = erofs_writesb(sbi, sb_bh);
119118
if (err) {
120119
LOG_ERROR("[erofs] Fail to writesb");
121120
goto exit;
@@ -126,7 +125,7 @@ int erofs_mkfs(struct erofs_mkfs_cfg *mkfs_cfg)
126125
if (err)
127126
goto exit;
128127

129-
err = erofs_dev_resize(sbi, nblocks);
128+
err = erofs_dev_resize(sbi, sbi->primarydevice_blocks);
130129
exit:
131130
if (root)
132131
erofs_iput(root);

0 commit comments

Comments
 (0)