Commit 753c6191 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Philipp Reisner
Browse files

drbd: Function prototype cleanups

parent 8fe60551
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1345,6 +1345,8 @@ extern void resync_timer_fn(unsigned long data);
extern void start_resync_timer_fn(unsigned long data);

/* drbd_receiver.c */
extern int drbd_receiver(struct drbd_thread *thi);
extern int drbd_asender(struct drbd_thread *thi);
extern int drbd_rs_should_slow_down(struct drbd_device *device, sector_t sector);
extern int drbd_submit_peer_request(struct drbd_device *,
				    struct drbd_peer_request *, const unsigned,
+0 −4
Original line number Diff line number Diff line
@@ -58,10 +58,6 @@
#include "drbd_vli.h"

static DEFINE_MUTEX(drbd_main_mutex);
int drbd_receiver(struct drbd_thread *);
int drbd_worker(struct drbd_thread *);

int drbd_init(void);
static int drbd_open(struct block_device *bdev, fmode_t mode);
static void drbd_release(struct gendisk *gd, fmode_t mode);
static int w_md_sync(struct drbd_work *w, int unused);