Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155520
b: refs/heads/master
c: d9ecdea
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Rusty Russell committed Jul 17, 2009
1 parent 2063217 commit be7e4c9
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 4eff3cae9c9809720c636e64bc72f212258e0bd5
refs/heads/master: d9ecdea7ed7467db32ec160f4eca46c279255606
2 changes: 1 addition & 1 deletion trunk/drivers/block/virtio_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ static int virtblk_ioctl(struct block_device *bdev, fmode_t mode,
* Only allow the generic SCSI ioctls if the host can support it.
*/
if (!virtio_has_feature(vblk->vdev, VIRTIO_BLK_F_SCSI))
return -ENOIOCTLCMD;
return -ENOTTY;

return scsi_cmd_ioctl(disk->queue, disk, mode, cmd, argp);
}
Expand Down

0 comments on commit be7e4c9

Please sign in to comment.