They used an older prototype, fix it up.
Showing the changes to include/linux/blkdev.h (1 of 1 file). Show all
Unified · Split
| @@ -1297,15 +1297,18 @@ static inline long nr_blockdev_pages(void) · 1296 unmodified lines | ||
| 1297 | 1297 | return 0; |
| 1298 | 1298 | } |
| 1299 | 1299 | |
| 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) | |
| 1301 | 1304 | { |
| 1302 | 1305 | } |
| 1303 | 1306 | |
| 1304 | −static inline void blk_finish_plug(struct list_head *list) | |
| 1307 | +static inline void blk_finish_plug(struct blk_plug *plug) | |
| 1305 | 1308 | { |
| 1306 | 1309 | } |
| 1307 | 1310 | |
| 1308 | −static inline void blk_flush_plug(struct task_struct *tsk) | |
| 1311 | +static inline void blk_flush_plug(struct task_struct *task) | |
| 1309 | 1312 | { |
| 1310 | 1313 | } |
| 1311 | 1314 | |