diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-07-15 18:15:45 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:57:58 +0100 |
commit | 9b743da96c8640dbfc864cb5d79c51547c3fadb4 (patch) | |
tree | 7579bddef2474d4504eb525fcc1f45b2c5abaa45 /drivers/block/drbd/drbd_worker.c | |
parent | 3b03ad5929e3ba5e1c3db7a70d426f883be061c2 (diff) |
drbd: Missing assignment of mdev before drbd_queue_work()
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_worker.c')
-rw-r--r-- | drivers/block/drbd/drbd_worker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c index dac8d9bc4be..9ee9b9fab7a 100644 --- a/drivers/block/drbd/drbd_worker.c +++ b/drivers/block/drbd/drbd_worker.c @@ -790,6 +790,7 @@ int drbd_resync_finished(struct drbd_conf *mdev) w = kmalloc(sizeof(struct drbd_work), GFP_ATOMIC); if (w) { w->cb = w_resync_finished; + w->mdev = mdev; drbd_queue_work(&mdev->tconn->data.work, w); return 1; } |