diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-27 20:40:20 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-11-07 16:48:17 -0500 |
commit | fd00045f383f51b66a7a46084a0e92b8de563157 (patch) | |
tree | d905d0bcbe2fd8322876970757cf46fd81ba6549 /fs/fuse | |
parent | 59b723cd2adbac2a34fc8e12c74ae26ae45bf230 (diff) |
bcachefs: Fix null ptr deref in bucket_gen_get()
bucket_gen() checks if we're lookup up a valid bucket and returns NULL
otherwise, but bucket_gen_get() was failing to check; other callers were
correct.
Also do a bit of cleanup on callers.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions