These two patches fix wrong usage of lock primitives with CONFIG_PREEMPT_RT in the blktrace code. 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 | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) -- 2.27.0