mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[UBTRFS] Upgrade to 1.2.1
CORE-16004
This commit is contained in:
parent
883b1f31ac
commit
52550485e2
1 changed files with 2 additions and 2 deletions
|
@ -887,7 +887,7 @@ static NTSTATUS write_superblocks(HANDLE h, btrfs_dev* dev, btrfs_root* chunk_ro
|
|||
UINT64 bytes_used;
|
||||
LIST_ENTRY* le;
|
||||
|
||||
sblen = sizeof(sb);
|
||||
sblen = sizeof(*sb);
|
||||
if (sblen & (sector_size - 1))
|
||||
sblen = (sblen & sector_size) + sector_size;
|
||||
|
||||
|
@ -1297,7 +1297,7 @@ static BOOL is_mounted_multi_device(HANDLE h, UINT32 sector_size) {
|
|||
|
||||
static WCHAR btrfs[] = L"\\Btrfs";
|
||||
|
||||
sblen = sizeof(sb);
|
||||
sblen = sizeof(*sb);
|
||||
if (sblen & (sector_size - 1))
|
||||
sblen = (sblen & sector_size) + sector_size;
|
||||
|
||||
|
|
Loading…
Reference in a new issue