Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13683
b: refs/heads/master
c: 07203f6
h: refs/heads/master
i:
  13681: 5db8068
  13679: 846c53a
v: v3
  • Loading branch information
Ondrej Zary authored and Bartlomiej Zolnierkiewicz committed Nov 9, 2005
1 parent 64cfacc commit a87d82a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d868dd19ad0828b1b3b56f3b06bd4a39971847be
refs/heads/master: 07203f6471a11f4eda48acbe528c0ce4704ad42c
6 changes: 2 additions & 4 deletions trunk/drivers/ide/ide-floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2038,11 +2038,9 @@ static int idefloppy_ioctl(struct inode *inode, struct file *file,
struct ide_floppy_obj *floppy = ide_floppy_g(bdev->bd_disk);
ide_drive_t *drive = floppy->drive;
void __user *argp = (void __user *)arg;
int err = generic_ide_ioctl(drive, file, bdev, cmd, arg);
int err;
int prevent = (arg) ? 1 : 0;
idefloppy_pc_t pc;
if (err != -EINVAL)
return err;

switch (cmd) {
case CDROMEJECT:
Expand Down Expand Up @@ -2094,7 +2092,7 @@ static int idefloppy_ioctl(struct inode *inode, struct file *file,
case IDEFLOPPY_IOCTL_FORMAT_GET_PROGRESS:
return idefloppy_get_format_progress(drive, argp);
}
return -EINVAL;
return generic_ide_ioctl(drive, file, bdev, cmd, arg);
}

static int idefloppy_media_changed(struct gendisk *disk)
Expand Down

0 comments on commit a87d82a

Please sign in to comment.