lkml.org 
[lkml]   [2003]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] loop 5/9 remove an IV
Remove unused IV from loop_make_request (loop_transfer_bio does that).

--- loop4/drivers/block/loop.c Mon Jun 9 15:58:48 2003
+++ loop5/drivers/block/loop.c Mon Jun 9 15:57:31 2003
@@ -544,7 +544,6 @@
{
struct bio *new_bio = NULL;
struct loop_device *lo = q->queuedata;
- unsigned long IV;
int rw = bio_rw(old_bio);

if (!lo)
@@ -580,7 +579,6 @@
* piggy old buffer on original, and submit for I/O
*/
new_bio = loop_get_buffer(lo, old_bio);
- IV = loop_get_iv(lo, old_bio->bi_sector);
if (rw == WRITE) {
if (loop_transfer_bio(lo, new_bio, old_bio))
goto err;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.039 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site