summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_worker.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-07-25 11:51:18 (GMT)
committerPhilipp Reisner <philipp.reisner@linbit.com>2014-02-17 15:50:38 (GMT)
commit8682eae9b4b26d54b9eeac8e17c534197e6d8744 (patch)
tree2d44a33901a0e3d6efaa1663cd7fe186b3650aec /drivers/block/drbd/drbd_worker.c
parentd9f65229f6257842eb7badef015719432b3d16a6 (diff)
downloadlinux-8682eae9b4b26d54b9eeac8e17c534197e6d8744.tar.xz
drbd: Rename w_prev_work_done -> w_complete
Also move it to drbd_receiver.c and make it static. Signed-off-by: Andreas Gruenbacher <agruen@linbit.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_worker.c')
-rw-r--r--drivers/block/drbd/drbd_worker.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c
index 3c69e73..cb9ba14 100644
--- a/drivers/block/drbd/drbd_worker.c
+++ b/drivers/block/drbd/drbd_worker.c
@@ -1262,14 +1262,6 @@ int w_e_end_ov_reply(struct drbd_work *w, int cancel)
return err;
}
-int w_prev_work_done(struct drbd_work *w, int cancel)
-{
- struct drbd_wq_barrier *b = container_of(w, struct drbd_wq_barrier, w);
-
- complete(&b->done);
- return 0;
-}
-
/* FIXME
* We need to track the number of pending barrier acks,
* and to be able to wait for them.