projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8f8fb4
)
bcachefs: Initialize super_block->s_uuid
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sat, 3 Feb 2024 20:23:07 +0000
(15:23 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 10 Mar 2024 19:34:09 +0000
(15:34 -0400)
Need to fix this oversight for the new FS_IOC_(GET|SET)UUID ioctls.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fs.c
b/fs/bcachefs/fs.c
index ec9cf4b8faf1ba783d1091d7c93b2874024ad025..be0c059d70f03d7f1ab94100a43babdbca630ad9 100644
(file)
--- a/
fs/bcachefs/fs.c
+++ b/
fs/bcachefs/fs.c
@@
-1878,6
+1878,7
@@
got_sb:
sb->s_time_gran = c->sb.nsec_per_time_unit;
sb->s_time_min = div_s64(S64_MIN, c->sb.time_units_per_sec) + 1;
sb->s_time_max = div_s64(S64_MAX, c->sb.time_units_per_sec);
+ sb->s_uuid = c->sb.user_uuid;
c->vfs_sb = sb;
strscpy(sb->s_id, c->name, sizeof(sb->s_id));