diff options
author | Jens Axboe <axboe@kernel.dk> | 2012-07-31 11:47:36 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-07-31 11:47:36 +0200 |
commit | 10af8138eb6d09d6a768e43ef1aa9b2f16b8c7be (patch) | |
tree | e3768640b2a002b45e07f5d8a8795d51c2f35652 /drivers/block/floppy.c | |
parent | blk: pass from_schedule to non-request unplug functions. (diff) | |
parent | floppy: remove duplicated flag FD_RAW_NEED_DISK (diff) | |
download | linux-10af8138eb6d09d6a768e43ef1aa9b2f16b8c7be.tar.xz linux-10af8138eb6d09d6a768e43ef1aa9b2f16b8c7be.zip |
Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/floppy into for-3.6/drivers
Diffstat (limited to 'drivers/block/floppy.c')
-rw-r--r-- | drivers/block/floppy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 8d4afc83e05f..a7d6347aaa79 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -2517,8 +2517,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; |