diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-07 14:13:22 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:27 -0400 |
commit | 590b91cf3fa419eefc917f4e37152af616c3ba5f (patch) | |
tree | a055304ceb855ea2dc22c37350f24be841b97797 /fs/bcachefs/util.h | |
parent | 718ce1eb8a84f47f66d0c89de43c6d0f0b14a20e (diff) | |
download | linux-590b91cf3fa419eefc917f4e37152af616c3ba5f.tar.gz linux-590b91cf3fa419eefc917f4e37152af616c3ba5f.tar.bz2 linux-590b91cf3fa419eefc917f4e37152af616c3ba5f.zip |
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>
Diffstat (limited to 'fs/bcachefs/util.h')
-rw-r--r-- | fs/bcachefs/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h index ba0c4d29c038..465ba030133b 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> |