]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
bcachefs: Revert UUID format-specifier change
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 7 Mar 2022 19:13:22 +0000 (14:13 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:27 +0000 (17:09 -0400)
"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 <kent.overstreet@gmail.com>
fs/bcachefs/util.h

index ba0c4d29c0388928fda79a07ca32fead2a284020..465ba030133b03ed839b9ef2f1bd434cdc3f6834 100644 (file)
@@ -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 <uuid/uuid.h>