diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-02-08 15:08:49 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-09-28 10:33:08 +0200 |
commit | a21e9298275a0145e43c2413725549112d99ba01 (patch) | |
tree | 71a837772fbeaf9c1004f36d1e1c802efeb32392 /drivers/block/drbd/drbd_state.c | |
parent | 360cc7405295d1f604d5689e8d6c206968d47886 (diff) | |
download | lwn-a21e9298275a0145e43c2413725549112d99ba01.tar.gz lwn-a21e9298275a0145e43c2413725549112d99ba01.zip |
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, ascw->ns = ns; ascw->flags = flags; ascw->w.cb = w_after_state_ch; + ascw->w.mdev = mdev; ascw->done = done; drbd_queue_work(&mdev->tconn->data.work, &ascw->w); } else { |