Commit 39ebd74
Kent Overstreet
bcachefs: Fix null ptr deref in invalidate_one_bucket()
bch2_backpointer_get_key() returns bkey_s_c_null when the target isn't
found.
backpointer_get_key() flags the error, so there's nothing else to do
here - just skip it and move on.
Link: koverstreet/bcachefs#847
Signed-off-by: Kent Overstreet <[email protected]>1 parent 83d539b commit 39ebd74
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2084 | 2084 | | |
2085 | 2085 | | |
2086 | 2086 | | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
2087 | 2090 | | |
2088 | 2091 | | |
2089 | 2092 | | |
| |||
0 commit comments