From: Kent Overstreet Date: Mon, 7 Mar 2022 19:13:22 +0000 (-0500) Subject: bcachefs: Revert UUID format-specifier change X-Git-Tag: v6.7-rc1~201^2~1073 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=590b91cf3fa419eefc917f4e37152af616c3ba5f;p=thirdparty%2Fkernel%2Flinux.git bcachefs: Revert UUID format-specifier change "bcachefs: Log & error message improvements" accidentally changed the format specifier we use for converting UUIDs to strings, which broke mounting of encrypted filesystems - this patch reverts that change. Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h index ba0c4d29c0388..465ba030133b0 100644 --- a/fs/bcachefs/util.h +++ b/fs/bcachefs/util.h @@ -372,7 +372,7 @@ static inline void pr_time(struct printbuf *out, u64 _time) #ifdef __KERNEL__ static inline void uuid_unparse_lower(u8 *uuid, char *out) { - sprintf(out, "%plU", uuid); + sprintf(out, "%pUb", uuid); } #else #include