History

block: fixup plugging stubs for !CONFIG_BLOCK

They used an older prototype, fix it up.

Jens Axboe committed 15 years ago

Commit 1f940bd1 parent eba2ed91 file · +6 −3Browse files

Showing the changes to include/linux/blkdev.h (1 of 1 file). Show all

Unified · Split

include/linux/blkdev.h+6−3
@@ -1297,15 +1297,18 @@ static inline long nr_blockdev_pages(void) · 1296 unmodified lines
12971297 return 0;
12981298 }
12991299
1300−static inline void blk_start_plug(struct list_head *list)
1300+struct blk_plug {
1301+};
1302+
1303+static inline void blk_start_plug(struct blk_plug *plug)
13011304 {
13021305 }
13031306
1304−static inline void blk_finish_plug(struct list_head *list)
1307+static inline void blk_finish_plug(struct blk_plug *plug)
13051308 {
13061309 }
13071310
1308−static inline void blk_flush_plug(struct task_struct *tsk)
1311+static inline void blk_flush_plug(struct task_struct *task)
13091312 {
13101313 }
13111314

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