Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345870
b: refs/heads/master
c: 34f646b
h: refs/heads/master
v: v3
  • Loading branch information
Philipp Reisner committed Nov 3, 2012
1 parent 28e1f0f commit 52b507b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 2325eb661f745ed543ef33642f5fe0dd6d1f0850
refs/heads/master: 34f646bd5731cfd456fbacc95c12a2cf52275e54
6 changes: 0 additions & 6 deletions trunk/drivers/block/drbd/drbd_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3130,12 +3130,6 @@ static int receive_sizes(struct drbd_conf *mdev, enum drbd_packet cmd,
p_size = be64_to_cpu(p->d_size);
p_usize = be64_to_cpu(p->u_size);

if (p_size == 0 && mdev->state.disk == D_DISKLESS) {
dev_err(DEV, "some backing storage is needed\n");
drbd_force_state(mdev, NS(conn, C_DISCONNECTING));
return false;
}

/* just store the peer's disk size for now.
* we still need to figure out whether we accept that. */
mdev->p_size = p_size;
Expand Down

0 comments on commit 52b507b

Please sign in to comment.