diff options
| author | Kent Overstreet <[email protected]> | 2025-04-02 16:54:25 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-04-03 16:11:43 +0000 |
| commit | 2581f89ac8d7174fda975523ae6c2bdc8ad62144 (patch) | |
| tree | c4abd83fa74e9d6e216386524b251193ad434418 /scripts/gcc-plugins/gcc-common.h | |
| parent | bcachefs: Fix null ptr deref in invalidate_one_bucket() (diff) | |
| download | kernel-2581f89ac8d7174fda975523ae6c2bdc8ad62144.tar.gz kernel-2581f89ac8d7174fda975523ae6c2bdc8ad62144.zip | |
bcachefs: backpointer_get_key: check for null from peek_slot()
peek_slot() doesn't normally return bkey_s_c_null - except when we ask
for a key at a btree level that doesn't exist, which can happen here.
We might want to revisit this, but we'll have to look over all the
places where we use peek_slot() on interior nodes.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
