History

block: remove the all_bdevs list

Instead just iterate over the inodes for the block device superblock.

Christoph Hellwig committed 6 years ago

Commit 1008fe61 parent 47b5e002 files · +7 −16Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/blk_types.h+0−1
@@ -40,7 +40,6 @@ struct block_device { · 39 unmodified lines
40 int bd_invalidated;40 int bd_invalidated;
41 struct gendisk * bd_disk;41 struct gendisk * bd_disk;
42 struct backing_dev_info *bd_bdi;42 struct backing_dev_info *bd_bdi;
43 struct list_head bd_list;
44 43
45 /* The counter of freeze processes */44 /* The counter of freeze processes */
46 int bd_fsfreeze_count;45 int bd_fsfreeze_count;

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