History

Merge tag 'block-5.6-2020-03-07' of git://git.kernel.dk/linux-block

Pull block fixes from Jens Axboe: "Here are a few fixes that should go into this release. This contains: - Revert of a bad bcache patch from this merge window - Removed unused function (Daniel) - Fixup for the blktrace fix from Jan from this release (Cengiz) - Fix of deeper level bfqq overwrite in BFQ (Carlo)" * tag 'block-5.6-2020-03-07' of git://git.kernel.dk/linux-block: block, bfq: fix overwrite of bfq_group pointer in bfq_find_set_group() blktrace: fix dereference after null check Revert "bcache: ignore pending signals when creating gc and allocator thread" block: Remove used kblockd_schedule_work_on()

Linus Torvalds committed 6 years ago

Commit 5dfcc132 parents 6f784a3 14afc596 files · +11 −41Browse files

Showing the changes to kernel (1 of 6 files). Show all

Unified · Split

kernel/trace/blktrace.c+4−1
@@ -1896,8 +1896,11 @@ static ssize_t sysfs_blk_trace_attr_store(struct device *dev, · 1895 unmodified lines
18961896 }
18971897
18981898 ret = 0;
1899− if (bt == NULL)
1899+ if (bt == NULL) {
19001900 ret = blk_trace_setup_queue(q, bdev);
1901+ bt = rcu_dereference_protected(q->blk_trace,
1902+ lockdep_is_held(&q->blk_trace_mutex));
1903+ }
19011904
19021905 if (ret == 0) {
19031906 if (attr == &dev_attr_act_mask)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t