From: Andreas Gruenbacher Date: Thu, 25 Aug 2011 14:56:34 +0000 (+0200) Subject: drbd: Make w_make_resync_request() static X-Git-Tag: firefly_0821_release~176^2~4188^2~23 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4d010392f416829005e85c337310b8feb65f877b;p=firefly-linux-kernel-4.4.55.git drbd: Make w_make_resync_request() static Signed-off-by: Andreas Gruenbacher Signed-off-by: Philipp Reisner --- diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index d776f6629da3..b3f46fb4dda3 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h @@ -1321,7 +1321,6 @@ extern int w_e_end_ov_req(struct drbd_work *, int); extern int w_ov_finished(struct drbd_work *, int); extern int w_resync_timer(struct drbd_work *, int); extern int w_send_write_hint(struct drbd_work *, int); -extern int w_make_resync_request(struct drbd_work *, int); extern int w_send_dblock(struct drbd_work *, int); extern int w_send_read_req(struct drbd_work *, int); extern int w_e_reissue(struct drbd_work *, int); 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;