Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98869
b: refs/heads/master
c: 0ce3a7e
h: refs/heads/master
i:
  98867: 0e9e9c0
v: v3
  • Loading branch information
Brian King authored and James Bottomley committed Jul 11, 2008
1 parent 4fd0ac1 commit 32912a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 081a5bcb39b455405d58f79bb3c9398a9d4477ed
refs/heads/master: 0ce3a7e5bd305e96c924fab1e3126480c665f017
6 changes: 5 additions & 1 deletion trunk/drivers/scsi/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/libata.h>
#include <linux/hdreg.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/processor.h>
Expand Down Expand Up @@ -4913,8 +4914,11 @@ static int ipr_ioctl(struct scsi_device *sdev, int cmd, void __user *arg)
struct ipr_resource_entry *res;

res = (struct ipr_resource_entry *)sdev->hostdata;
if (res && ipr_is_gata(res))
if (res && ipr_is_gata(res)) {
if (cmd == HDIO_GET_IDENTITY)
return -ENOTTY;
return ata_scsi_ioctl(sdev, cmd, arg);
}

return -EINVAL;
}
Expand Down

0 comments on commit 32912a6

Please sign in to comment.