diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-02-08 09:08:49 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-09-28 04:33:08 -0400 |
commit | a21e9298275a0145e43c2413725549112d99ba01 (patch) | |
tree | 71a837772fbeaf9c1004f36d1e1c802efeb32392 /drivers/block/drbd/drbd_state.c | |
parent | 360cc7405295d1f604d5689e8d6c206968d47886 (diff) |
drbd: Moved the mdev member into drbd_work (from drbd_request and drbd_peer_request)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_state.c')
-rw-r--r-- | drivers/block/drbd/drbd_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_state.c b/drivers/block/drbd/drbd_state.c index 38d330b7b662..36679841af68 100644 --- a/drivers/block/drbd/drbd_state.c +++ b/drivers/block/drbd/drbd_state.c | |||
@@ -843,6 +843,7 @@ __drbd_set_state(struct drbd_conf *mdev, union drbd_state ns, | |||
843 | ascw->ns = ns; | 843 | ascw->ns = ns; |
844 | ascw->flags = flags; | 844 | ascw->flags = flags; |
845 | ascw->w.cb = w_after_state_ch; | 845 | ascw->w.cb = w_after_state_ch; |
846 | ascw->w.mdev = mdev; | ||
846 | ascw->done = done; | 847 | ascw->done = done; |
847 | drbd_queue_work(&mdev->tconn->data.work, &ascw->w); | 848 | drbd_queue_work(&mdev->tconn->data.work, &ascw->w); |
848 | } else { | 849 | } else { |