Skip to content
Commit 570f5050 authored by Bharadwaj Raju's avatar Bharadwaj Raju Committed by Kent Overstreet
Browse files

bcachefs: use nonblocking variant of print_string_as_lines in error path



The inconsistency error path calls print_string_as_lines, which calls
console_lock, which is a potentially-sleeping function and so can't be
called in an atomic context.

Replace calls to it with the nonblocking variant which is safe to call.

Signed-off-by: default avatarBharadwaj Raju <bharadwaj.raju777@gmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b2ffadcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment