Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187144
b: refs/heads/master
c: 416d8d2
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Mar 12, 2010
1 parent ea9d477 commit 62a9472
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 15b2630c587dcea931f563deb50d617af96b4edb
refs/heads/master: 416d8d2888db392c562fb8afaf9136730ef0da9e
8 changes: 4 additions & 4 deletions trunk/drivers/block/floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2885,7 +2885,6 @@ static int make_raw_rw_request(void)

static void redo_fd_request(void)
{
#define REPEAT {request_done(0); continue; }
int drive;
int tmp;

Expand Down Expand Up @@ -2920,15 +2919,17 @@ static void redo_fd_request(void)
if (test_bit(current_drive, &fake_change) ||
test_bit(FD_DISK_CHANGED_BIT, &DRS->flags)) {
DPRINT("disk absent or changed during operation\n");
REPEAT;
request_done(0);
continue;
}
if (!_floppy) { /* Autodetection */
if (!probing) {
DRS->probed_format = 0;
if (next_valid_format()) {
DPRINT("no autodetectable formats\n");
_floppy = NULL;
REPEAT;
request_done(0);
continue;
}
}
probing = 1;
Expand All @@ -2949,7 +2950,6 @@ static void redo_fd_request(void)
debugt("queue fd request");
return;
}
#undef REPEAT
}

static struct cont_t rw_cont = {
Expand Down

0 comments on commit 62a9472

Please sign in to comment.