mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
volume_id: update btrfs magic
This commit is contained in:
parent
88608b1704
commit
361b8a7423
@ -81,7 +81,7 @@ int volume_id_probe_btrfs(struct volume_id *id, uint64_t off, uint64_t size)
|
||||
if (buf == NULL)
|
||||
return -1;
|
||||
bfs = (struct btrfs_super_block *)buf;
|
||||
if (memcmp(bfs->magic, "_BDRfS_M", 8) != 0)
|
||||
if (memcmp(bfs->magic, "_BFRfS_M", 8) != 0)
|
||||
return -1;
|
||||
volume_id_set_uuid(id, bfs->fsid, 0, UUID_DCE);
|
||||
volume_id_set_label_raw(id, bfs->label, 256);
|
||||
|
Loading…
Reference in New Issue
Block a user