Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86371
b: refs/heads/master
c: ef774c1
h: refs/heads/master
i:
  86369: d9c0e1d
  86367: 651298c
v: v3
  • Loading branch information
Stefan Richter committed Feb 19, 2008
1 parent c402888 commit 1e56e2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33f1c6c3529f5f279e2e98e5cca0c5bac152153b
refs/heads/master: ef774c16a744f130f27c654bf9c4806e767fc773
3 changes: 3 additions & 0 deletions trunk/drivers/ieee1394/sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1974,6 +1974,9 @@ static int sbp2scsi_slave_alloc(struct scsi_device *sdev)
{
struct sbp2_lu *lu = (struct sbp2_lu *)sdev->host->hostdata[0];

if (sdev->lun != 0 || sdev->id != lu->ud->id || sdev->channel != 0)
return -ENODEV;

lu->sdev = sdev;
sdev->allow_restart = 1;

Expand Down

0 comments on commit 1e56e2a

Please sign in to comment.