+11
−8
+3
−4
+2
−5
Loading
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>