Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345879
b: refs/heads/master
c: 40cbf08
h: refs/heads/master
i:
  345877: 3a01b4e
  345875: bb1f699
  345871: 5988e87
v: v3
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed Nov 3, 2012
1 parent bc4640d commit 4367845
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e4f78edee10ebe789564c8468d8a6b995e4045bb
refs/heads/master: 40cbf085f584840847e3f945c10c75f7d36237fc
5 changes: 3 additions & 2 deletions trunk/drivers/block/drbd/drbd_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ int drbd_adm_attach(struct sk_buff *skb, struct genl_info *info)
if (!adm_ctx.reply_skb)
return retcode;
if (retcode != NO_ERROR)
goto fail;
goto finish;

mdev = adm_ctx.mdev;
conn_reconfig_start(mdev->tconn);
Expand Down Expand Up @@ -1400,8 +1400,8 @@ int drbd_adm_attach(struct sk_buff *skb, struct genl_info *info)
force_diskless:
drbd_force_state(mdev, NS(disk, D_FAILED));
drbd_md_sync(mdev);
conn_reconfig_done(mdev->tconn);
fail:
conn_reconfig_done(mdev->tconn);
if (nbc) {
if (nbc->backing_bdev)
blkdev_put(nbc->backing_bdev,
Expand All @@ -1413,6 +1413,7 @@ int drbd_adm_attach(struct sk_buff *skb, struct genl_info *info)
}
lc_destroy(resync_lru);

finish:
drbd_adm_finish(info, retcode);
return 0;
}
Expand Down

0 comments on commit 4367845

Please sign in to comment.