[PATCH v2 0/2] Fix warnings in blktrace

From: Wander Lairson Costa
Date: Mon Dec 13 2021 - 07:38:15 EST


These two patches fix wrong usage of lock primitives with
CONFIG_PREEMPT_RT in the blktrace code.

This version fixes a missing piece in the blktrace patch.

The patches apply to the PREEMPT_RT tree.

Wander Lairson Costa (2):
block: Avoid sleeping function called from invalid context bug
blktrace: switch trace spinlock to a raw spinlock

block/blk-cgroup.c | 4 ++--
kernel/trace/blktrace.c | 18 +++++++++---------
2 files changed, 11 insertions(+), 11 deletions(-)

--
2.27.0