]> www.infradead.org Git - users/hch/dma-mapping.git/commit
bcachefs: Don't use wait_event_interruptible() in recovery
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 19 Oct 2024 21:50:41 +0000 (17:50 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 20 Oct 2024 20:50:14 +0000 (16:50 -0400)
commit3956ff8bc2f39a7e77d7a6da8d95c7ffc4928d64
treea3073ac4a4a818aec7f0afa9afa65431f80d432d
parenteb5db64c4570948e6ee0b0f53d658e136e06cd04
bcachefs: Don't use wait_event_interruptible() in recovery

Fix a bug where mount was failing with -ERESTARTSYS:
https://github.com/koverstreet/bcachefs/issues/741

We only want the interruptible wait when called from fsync.

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