Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167663
b: refs/heads/master
c: 034a186
h: refs/heads/master
i:
  167661: 338e648
  167659: fdb68df
  167655: e78130b
  167647: 463b1bb
v: v3
  • Loading branch information
Jonathan Brassow authored and Alasdair G Kergon committed Oct 16, 2009
1 parent d163625 commit c0c4c34
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 6d45d93ead319423099b82a4efd775bc0f159121
refs/heads/master: 034a186d29dbcef099e57ab23ec39440596be911
5 changes: 4 additions & 1 deletion trunk/drivers/md/dm-snap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ static int __init dm_snapshot_init(void)
r = dm_register_target(&snapshot_target);
if (r) {
DMERR("snapshot target register failed %d", r);
return r;
goto bad_register_snapshot_target;
}

r = dm_register_target(&origin_target);
Expand Down Expand Up @@ -1527,6 +1527,9 @@ static int __init dm_snapshot_init(void)
dm_unregister_target(&origin_target);
bad1:
dm_unregister_target(&snapshot_target);

bad_register_snapshot_target:
dm_exception_store_exit();
return r;
}

Expand Down

0 comments on commit c0c4c34

Please sign in to comment.