!112 黄蓝差异同步

Merge pull request !112 from f房芷仪/0407
This commit is contained in:
openharmony_ci
2025-04-21 07:59:46 +00:00
committed by Gitee
+2 -2
View File
@@ -12,7 +12,7 @@ index b8b6558..1111c93 100644
+{
+ hmfs_super_block *bs = NULL;
+ if (buf == NULL) {
+ return -1;
+ return 1;
+ }
+ bs = (hmfs_super_block *)buf;
+ set_uuid(probe->dev, bs->uuid, 0);
@@ -31,7 +31,7 @@ index b8b6558..1111c93 100644
{ "lvm2pv", 1, 0x218, 8, "LVM2 001", probe_lvm2 },
{ "btrfs", 64, 0x40, 8, "_BHRfS_M", probe_btrfs },
{ "f2fs", 1, 0, 4, "\x10\x20\xf5\xf2", probe_f2fs },
+ { "hmfs", 1, 0, 4, "\x24\x20\xf5\xfe", probe_hmfs },
+ { "hmfs", 1, 0, 4, "\x24\x20\xf5\xfe", probe_hmfs },
{ "exfat", 0, 3, 8, "EXFAT ", probe_exfat },
{ NULL, 0, 0, 0, NULL, NULL }
};