Commit 4d010392 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Philipp Reisner

drbd: Make w_make_resync_request() static

Signed-off-by: default avatarAndreas Gruenbacher <agruen@linbit.com>
Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
parent a8cd15ba
...@@ -1321,7 +1321,6 @@ extern int w_e_end_ov_req(struct drbd_work *, int); ...@@ -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_ov_finished(struct drbd_work *, int);
extern int w_resync_timer(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_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_dblock(struct drbd_work *, int);
extern int w_send_read_req(struct drbd_work *, int); extern int w_send_read_req(struct drbd_work *, int);
extern int w_e_reissue(struct drbd_work *, int); extern int w_e_reissue(struct drbd_work *, int);
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include "drbd_req.h" #include "drbd_req.h"
static int w_make_ov_request(struct drbd_work *, int); static int w_make_ov_request(struct drbd_work *, int);
static int w_make_resync_request(struct drbd_work *, int);
/* endio handlers: /* endio handlers:
* drbd_md_io_complete (defined here) * drbd_md_io_complete (defined here)
...@@ -565,7 +565,7 @@ static int drbd_rs_number_requests(struct drbd_device *device) ...@@ -565,7 +565,7 @@ static int drbd_rs_number_requests(struct drbd_device *device)
return number; 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_work *dw = device_work(w);
struct drbd_device *device = dw->device; struct drbd_device *device = dw->device;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment