projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94cd106
)
bcachefs: fix bch2_sb_field_resize()
author
Kent Overstreet
<kent.overstreet@gmail.com>
Sat, 9 Feb 2019 23:24:20 +0000
(18:24 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:15 +0000
(17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super-io.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/super-io.c
b/fs/bcachefs/super-io.c
index dafdc45b442cc7ac40f74e4447ab2a97dafecdbc..2ad1266e167d14a95f640baa432cd600bfa0feec 100644
(file)
--- a/
fs/bcachefs/super-io.c
+++ b/
fs/bcachefs/super-io.c
@@
-188,6
+188,7
@@
struct bch_sb_field *bch2_sb_field_resize(struct bch_sb_handle *sb,
}
}
+ f = bch2_sb_field_get(sb->sb, type);
f = __bch2_sb_field_resize(sb, f, u64s);
if (f)
f->type = cpu_to_le32(type);