bcachefs: Make sure __bch2_run_explicit_recovery_pass() signals to rewind
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 5 Dec 2024 00:46:35 +0000 (19:46 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:22 +0000 (01:36 -0500)
commitc67fab0774cee93b6aac9adc3601bcf0a4ea6ab4
treee3ff1320fd78daffab5b9b44cdd9e3fd96899a5c
parent90c6daa6ac90a7f83efa566350fbe2404f848ef0
bcachefs: Make sure __bch2_run_explicit_recovery_pass() signals to rewind

We should always signal to rewind if the requested pass hasn't been run,
even if called multiple times.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs.h
fs/bcachefs/recovery_passes.c