From 1e81f89b020758fb424f8bb0f13405706d29dfc7 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 7 Aug 2023 12:04:05 -0400 Subject: bcachefs: Fix assorted checkpatch nits Signed-off-by: Kent Overstreet --- fs/bcachefs/super-io.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/bcachefs/super-io.h') diff --git a/fs/bcachefs/super-io.h b/fs/bcachefs/super-io.h index 904adea6a0da..6e59b0148f8d 100644 --- a/fs/bcachefs/super-io.h +++ b/fs/bcachefs/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; } -- cgit v1.2.3