aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorBharadwaj Raju <[email protected]>2025-04-02 18:15:53 +0000
committerKent Overstreet <[email protected]>2025-04-03 16:11:42 +0000
commit570f5050bb0739f24aeb94034d8ec134c450b4aa (patch)
tree8504ea2e43af38ee45c6c0651c23356aceff1443 /rust/helpers/mutex.c
parentbcachefs: Fix scheduling while atomic from logging changes (diff)
downloadkernel-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