diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-11 22:22:59 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-11 22:25:12 -0400 |
commit | f3976e3733e97a0e96f5fc6349d1e82b25116043 (patch) | |
tree | 87ab725ba56735f2157e77dc6bc4bc1c910890b2 /libbcachefs/super-io.h | |
parent | bcee0320dcb53adb3786330a00a101840f2939d0 (diff) |
Update bcachefs sources to b0788c47d9 bcachefs: Fix check_version_upgrade()
Diffstat (limited to 'libbcachefs/super-io.h')
-rw-r--r-- | libbcachefs/super-io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs/super-io.h b/libbcachefs/super-io.h index 5181dcb3..d51c0a19 100644 --- a/libbcachefs/super-io.h +++ b/libbcachefs/super-io.h @@ -58,6 +58,7 @@ struct bch_sb_field_ops { static inline __le64 bch2_sb_magic(struct bch_fs *c) { __le64 ret; + memcpy(&ret, &c->sb.uuid, sizeof(ret)); return ret; } |