Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197851
b: refs/heads/master
c: bdb4a13
h: refs/heads/master
i:
  197849: bef26c4
  197847: ffa7941
v: v3
  • Loading branch information
Rusty Russell committed May 19, 2010
1 parent 4254291 commit 8c5b5af
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: 234f2725a5d03f78539f1d36cb32f2c4f9b1822c
refs/heads/master: bdb4a1305723f985249210a803105dbc48e86b64
2 changes: 1 addition & 1 deletion trunk/drivers/block/virtio_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static int virtblk_ioctl(struct block_device *bdev, fmode_t mode,
struct gendisk *disk = bdev->bd_disk;
struct virtio_blk *vblk = disk->private_data;

if (cmd == 'VBID') {
if (cmd == 0x56424944) { /* 'VBID' */
void __user *usr_data = (void __user *)data;
char id_str[VIRTIO_BLK_ID_BYTES];
int err;
Expand Down

0 comments on commit 8c5b5af

Please sign in to comment.