diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-22 15:59:53 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:45 -0400 |
commit | a10195764901e0a41e64d596de57a957e7f982f0 (patch) | |
tree | fec47a1ad4a508d47299715baabf7a7242ddf90b /fs/bcachefs/bcachefs_format.h | |
parent | d4bce63636ab81ca4aed03d6641ad70c8416e921 (diff) | |
download | lwn-a10195764901e0a41e64d596de57a957e7f982f0.tar.gz lwn-a10195764901e0a41e64d596de57a957e7f982f0.zip |
bcachefs: More style fixes
Fixes for various checkpatch errors.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r-- | fs/bcachefs/bcachefs_format.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h index 35fe7002b37d..6e01fd81e3f0 100644 --- a/fs/bcachefs/bcachefs_format.h +++ b/fs/bcachefs/bcachefs_format.h @@ -1840,6 +1840,7 @@ enum bch_compression_opts { static inline __le64 __bch2_sb_magic(struct bch_sb *sb) { __le64 ret; + memcpy(&ret, &sb->uuid, sizeof(ret)); return ret; } |