summaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-16 08:41:52 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 18:05:52 +0200
commit8f8a68ee486e1c81eaead3c521822bf86142d380 (patch)
tree8435b491a52ea22918f621892970536957352fa0 /mm/backing-dev.c
parentkernel/printk.c: document possible deadlock against scheduler (diff)
downloadlinux-8f8a68ee486e1c81eaead3c521822bf86142d380.tar.xz
linux-8f8a68ee486e1c81eaead3c521822bf86142d380.zip
remove mm/backing-dev.c:congestion_wait_interruptible()
congestion_wait_interruptible() is no longer used. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--mm/backing-dev.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c
index e5de3781d3fe..f50a2811f9dc 100644
--- a/mm/backing-dev.c
+++ b/mm/backing-dev.c
@@ -55,22 +55,6 @@ long congestion_wait(int rw, long timeout)
}
EXPORT_SYMBOL(congestion_wait);
-long congestion_wait_interruptible(int rw, long timeout)
-{
- long ret;
- DEFINE_WAIT(wait);
- wait_queue_head_t *wqh = &congestion_wqh[rw];
-
- prepare_to_wait(wqh, &wait, TASK_INTERRUPTIBLE);
- if (signal_pending(current))
- ret = -ERESTARTSYS;
- else
- ret = io_schedule_timeout(timeout);
- finish_wait(wqh, &wait);
- return ret;
-}
-EXPORT_SYMBOL(congestion_wait_interruptible);
-
/**
* congestion_end - wake up sleepers on a congested backing_dev_info
* @rw: READ or WRITE