linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] floppy: duplicate FD_RAW_NEED_DISK
@ 2008-08-18 22:58 roel kluin
  0 siblings, 0 replies; only message in thread
From: roel kluin @ 2008-08-18 22:58 UTC (permalink / raw)
  To: paul, linux-kernel

Maybe some other flag was needed? otherwise the
patch below cleans it up.
---
duplicate FD_RAW_NEED_DISK

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 395f8ea..c59ae10 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -2622,8 +2622,7 @@ static int make_raw_rw_request(void)
 	set_fdc((long)current_req->rq_disk->private_data);
 
 	raw_cmd = &default_raw_cmd;
-	raw_cmd->flags = FD_RAW_SPIN | FD_RAW_NEED_DISK | FD_RAW_NEED_DISK |
-	    FD_RAW_NEED_SEEK;
+	raw_cmd->flags = FD_RAW_SPIN | FD_RAW_NEED_DISK | FD_RAW_NEED_SEEK;
 	raw_cmd->cmd_count = NR_RW;
 	if (rq_data_dir(current_req) == READ) {
 		raw_cmd->flags |= FD_RAW_READ;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-18 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-18 22:58 [PATCH] floppy: duplicate FD_RAW_NEED_DISK roel kluin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).