Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251215
b: refs/heads/master
c: bc0c081
h: refs/heads/master
i:
  251213: 8c85c04
  251211: 9b0c1db
  251207: 723c77f
  251199: 6591702
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk committed Apr 14, 2011
1 parent 116189c commit a2e826e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 248e9f7539f8351cd857d12a74bd52133a3a900f
refs/heads/master: bc0c081b0e7a4afc4d2c7bc0666f5cd169e96814
4 changes: 2 additions & 2 deletions trunk/drivers/xen/blkback/vbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ int vbd_create(blkif_t *blkif, blkif_vdev_t handle, unsigned major,

vbd->pdevice = MKDEV(major, minor);

bdev = open_by_devnum(vbd->pdevice,
vbd->readonly ? FMODE_READ : FMODE_WRITE);
bdev = blkdev_get_by_dev(vbd->pdevice, vbd->readonly ?
FMODE_READ : FMODE_WRITE, NULL);

if (IS_ERR(bdev)) {
DPRINTK("vbd_creat: device %08x could not be opened.\n",
Expand Down

0 comments on commit a2e826e

Please sign in to comment.