Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242827
b: refs/heads/master
c: 9d77a5f
h: refs/heads/master
i:
  242825: 922ae8e
  242823: b22432c
v: v3
  • Loading branch information
Philipp Reisner committed Mar 10, 2011
1 parent 5078a15 commit 67093c4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3555d8545976703938d1b59e2db509426dbe02c
refs/heads/master: 9d77a5fee9d2a1ea4cd9a841d27b107df5913b33
1 change: 0 additions & 1 deletion trunk/drivers/block/drbd/drbd_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,6 @@ extern int w_ov_finished(struct drbd_conf *, struct drbd_work *, int);
extern int w_resync_inactive(struct drbd_conf *, struct drbd_work *, int);
extern int w_resume_next_sg(struct drbd_conf *, struct drbd_work *, int);
extern int w_send_write_hint(struct drbd_conf *, struct drbd_work *, int);
extern int w_make_resync_request(struct drbd_conf *, struct drbd_work *, int);
extern int w_send_dblock(struct drbd_conf *, struct drbd_work *, int);
extern int w_send_barrier(struct drbd_conf *, struct drbd_work *, int);
extern int w_send_read_req(struct drbd_conf *, struct drbd_work *, int);
Expand Down
10 changes: 6 additions & 4 deletions trunk/drivers/block/drbd/drbd_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
#include "drbd_req.h"

static int w_make_ov_request(struct drbd_conf *mdev, struct drbd_work *w, int cancel);
static int w_make_resync_request(struct drbd_conf *mdev,
struct drbd_work *w, int cancel);



Expand Down Expand Up @@ -438,7 +440,7 @@ static void fifo_add_val(struct fifo_buffer *fb, int value)
fb->values[i] += value;
}

int drbd_rs_controller(struct drbd_conf *mdev)
static int drbd_rs_controller(struct drbd_conf *mdev)
{
unsigned int sect_in; /* Number of sectors that came in since the last turn */
unsigned int want; /* The number of sectors we want in the proxy */
Expand Down Expand Up @@ -492,7 +494,7 @@ int drbd_rs_controller(struct drbd_conf *mdev)
return req_sect;
}

int drbd_rs_number_requests(struct drbd_conf *mdev)
static int drbd_rs_number_requests(struct drbd_conf *mdev)
{
int number;
if (mdev->rs_plan_s.size) { /* mdev->sync_conf.c_plan_ahead */
Expand All @@ -508,8 +510,8 @@ int drbd_rs_number_requests(struct drbd_conf *mdev)
return number;
}

int w_make_resync_request(struct drbd_conf *mdev,
struct drbd_work *w, int cancel)
static int w_make_resync_request(struct drbd_conf *mdev,
struct drbd_work *w, int cancel)
{
unsigned long bit;
sector_t sector;
Expand Down

0 comments on commit 67093c4

Please sign in to comment.