diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-12-18 23:34:36 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:33 +0200 |
commit | 187c71f6ab439582c80433ef9e04f615b8c0f576 (patch) | |
tree | ae1be6c73ecc0326718e3f96fd817ac079ae3049 /fs/bcachefs/clock.h | |
parent | bcachefs: Redo filesystem usage ioctls (diff) | |
download | linux-187c71f6ab439582c80433ef9e04f615b8c0f576.tar.xz linux-187c71f6ab439582c80433ef9e04f615b8c0f576.zip |
bcachefs: Fix a memory splat
In __bch2_sb_field_resize, when a field's old a new size was 0, we were
doing an invalid write just past the end of the superblock.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/clock.h')
0 files changed, 0 insertions, 0 deletions