Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37589
b: refs/heads/master
c: bcfd8d3
h: refs/heads/master
i:
  37587: 2060203
v: v3
  • Loading branch information
Andrew Morton authored and Jens Axboe committed Sep 30, 2006
1 parent 1de44e7 commit 6ee023d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e6d12b2c8be2cac099df6dcb8b26884f24d2621
refs/heads/master: bcfd8d36151e531e1c6c731f1fbf792509a1c494
7 changes: 5 additions & 2 deletions trunk/include/linux/blkdev.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef _LINUX_BLKDEV_H
#define _LINUX_BLKDEV_H

#include <linux/sched.h>
#include <linux/major.h>
#include <linux/genhd.h>
#include <linux/list.h>
Expand Down Expand Up @@ -848,15 +849,17 @@ void kblockd_flush(void);

static inline long blk_congestion_wait(int rw, long timeout)
{
return timeout;
return io_schedule_timeout(timeout);
}

static inline long nr_blockdev_pages(void)
{
return 0;
}

static inline void exit_io_context(void) {}
static inline void exit_io_context(void)
{
}

#endif /* CONFIG_BLOCK */

Expand Down

0 comments on commit 6ee023d

Please sign in to comment.