1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-18 08:15:14 +00:00

Merge branch '9.0'

This commit is contained in:
杨赫然
2022-12-06 14:47:15 +08:00
10 changed files with 321 additions and 44 deletions

View File

@@ -82,6 +82,10 @@ check_blocks (const char *file_id, FsckData *fsck_data, gboolean *io_error)
seafile = seaf_fs_manager_get_seafile (seaf->fs_mgr, store_id,
version, file_id);
if (!seafile) {
seaf_warning ("Failed to get seafile: %s/%s\n", store_id, file_id);
return -1;
}
for (i = 0; i < seafile->n_blocks; ++i) {
block_id = seafile->blk_sha1s[i];