summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-03-07 14:13:22 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2022-04-17 15:44:26 -0400
commita808213117d3d15adb9e8045c93875bb20c96921 (patch)
tree9f898254b16e195ec48527df93f6d88a9852a7fe
parentc690249c82b307c1f5a3b055964b7740af1e97fa (diff)
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 <kent.overstreet@gmail.com>
-rw-r--r--fs/bcachefs/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h
index 2c9e91023bb9..d6d7f1bc16b8 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 <uuid/uuid.h>