We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d01f6f commit cc69a68Copy full SHA for cc69a68
fs/erofs/super.c
@@ -343,7 +343,7 @@ static int erofs_read_superblock(struct super_block *sb)
343
sbi->build_time = le64_to_cpu(dsb->build_time);
344
sbi->build_time_nsec = le32_to_cpu(dsb->build_time_nsec);
345
346
- memcpy(&sb->s_uuid, dsb->uuid, sizeof(dsb->uuid));
+ super_set_uuid(sb, (void *)dsb->uuid, sizeof(dsb->uuid));
347
348
ret = strscpy(sbi->volume_name, dsb->volume_name,
349
sizeof(dsb->volume_name));
0 commit comments