summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/mactel-linux-sources/files/2.6.24-mactel-patches-r155/disk-protect-update.patch')
-rw-r--r--sys-kernel/mactel-linux-sources/files/2.6.24-mactel-patches-r155/disk-protect-update.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/sys-kernel/mactel-linux-sources/files/2.6.24-mactel-patches-r155/disk-protect-update.patch b/sys-kernel/mactel-linux-sources/files/2.6.24-mactel-patches-r155/disk-protect-update.patch
deleted file mode 100644
index af6afd4..0000000
--- a/sys-kernel/mactel-linux-sources/files/2.6.24-mactel-patches-r155/disk-protect-update.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Disk protect patch update.
-
-From: Nicolas Boichat <nicolas@boichat.ch>
-
-
----
-
- block/ll_rw_blk.c | 1 +
- include/linux/blkdev.h | 2 ++
- 2 files changed, 3 insertions(+), 0 deletions(-)
-
-
-diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
-index 31f0c22..9d7864a 100644
---- a/block/ll_rw_blk.c
-+++ b/block/ll_rw_blk.c
-@@ -4308,6 +4308,7 @@ static ssize_t queue_protect_show(struct request_queue *q, char *page)
- spin_unlock_irq(q->queue_lock);
- return queue_var_show(seconds, (page));
- }
-+EXPORT_SYMBOL(blk_freeze_queue);
-
- /*
- * When writing the 'protect' attribute, input is the number of seconds
-diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
-index e10f40b..3e53289 100644
---- a/include/linux/blkdev.h
-+++ b/include/linux/blkdev.h
-@@ -114,6 +114,8 @@ struct io_context *get_io_context(gfp_t gfp_flags, int node);
- void copy_io_context(struct io_context **pdst, struct io_context **psrc);
- void swap_io_context(struct io_context **ioc1, struct io_context **ioc2);
-
-+void blk_freeze_queue(struct request_queue *q, int seconds);
-+
- struct request;
- typedef void (rq_end_io_fn)(struct request *, int);
-