Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331674
b: refs/heads/master
c: 3ee4001
h: refs/heads/master
v: v3
  • Loading branch information
Alex Elder committed Oct 1, 2012
1 parent ea99646 commit 718662a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 12f029448c3d73e0f30bc5aee5964442aa95c0f4
refs/heads/master: 3ee4001e0c875ce8ebcdf5ea305e9a105b3687bd
9 changes: 5 additions & 4 deletions trunk/drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2646,16 +2646,17 @@ static ssize_t rbd_add(struct bus_type *bus,
if (rc)
goto err_out_bus;

rc = rbd_init_watch_dev(rbd_dev);
if (rc)
goto err_out_bus;

/* Everything's ready. Announce the disk to the world. */

add_disk(rbd_dev->disk);

pr_info("%s: added with size 0x%llx\n", rbd_dev->disk->disk_name,
(unsigned long long) rbd_dev->mapping.size);

rc = rbd_init_watch_dev(rbd_dev);
if (rc)
goto err_out_bus;

return count;

err_out_bus:
Expand Down

0 comments on commit 718662a

Please sign in to comment.