summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_worker.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-08-25 16:56:34 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2014-02-17 16:50:42 +0100
commit4d010392f416829005e85c337310b8feb65f877b (patch)
treef7d2b004c7f6ceb050a2d1d4771a61f29a050c79 /drivers/block/drbd/drbd_worker.c
parenta8cd15ba7919eaf1f416857f983a502cc261af26 (diff)
drbd: Make w_make_resync_request() 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c
index e60b2535a288..6867aa601781 100644
--- a/drivers/block/drbd/drbd_worker.c
+++ b/drivers/block/drbd/drbd_worker.c
@@ -40,7 +40,7 @@
#include "drbd_req.h"
static int w_make_ov_request(struct drbd_work *, int);
-
+static int w_make_resync_request(struct drbd_work *, int);
/* endio handlers:
* drbd_md_io_complete (defined here)
@@ -565,7 +565,7 @@ static int drbd_rs_number_requests(struct drbd_device *device)
return number;
}
-int w_make_resync_request(struct drbd_work *w, int cancel)
+static int w_make_resync_request(struct drbd_work *w, int cancel)
{
struct drbd_device_work *dw = device_work(w);
struct drbd_device *device = dw->device;