diff options
| author | Bharadwaj Raju <[email protected]> | 2025-04-02 18:15:53 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-04-03 16:11:42 +0000 |
| commit | 570f5050bb0739f24aeb94034d8ec134c450b4aa (patch) | |
| tree | 8504ea2e43af38ee45c6c0651c23356aceff1443 /rust/helpers/mutex.c | |
| parent | bcachefs: Fix scheduling while atomic from logging changes (diff) | |
| download | kernel-570f5050bb0739f24aeb94034d8ec134c450b4aa.tar.gz kernel-570f5050bb0739f24aeb94034d8ec134c450b4aa.zip | |
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: Bharadwaj Raju <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
