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
1297 return 0;1297 return 0;
1298}1298}
1299 1299
1300static inline void blk_start_plug(struct list_head *list)1300struct blk_plug {
1301};
1302
1303static inline void blk_start_plug(struct blk_plug *plug)
1301{1304{
1302}1305}
1303 1306
1304static inline void blk_finish_plug(struct list_head *list)1307static inline void blk_finish_plug(struct blk_plug *plug)
1305{1308{
1306}1309}
1307 1310
1308static inline void blk_flush_plug(struct task_struct *tsk)1311static inline void blk_flush_plug(struct task_struct *task)
1309{1312{
1310}1313}
1311 1314

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