diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-04-07 00:06:56 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:45:14 +0100 |
commit | d4da15374ba52009801d4c37c6dae0ba6ec0fca5 (patch) | |
tree | 2d840b0600e0d05ee03d5e40461f9db6162f2418 /drivers/block/drbd/drbd_receiver.c | |
parent | 045417f75c718a4ac97fd44106b8aafcbca5a6da (diff) | |
download | lwn-d4da15374ba52009801d4c37c6dae0ba6ec0fca5.tar.gz lwn-d4da15374ba52009801d4c37c6dae0ba6ec0fca5.zip |
drbd: Make drbd_wait_ee_list_empty() and _drbd_wait_ee_list_empty() static
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_receiver.c')
-rw-r--r-- | drivers/block/drbd/drbd_receiver.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index 10b9276b28f7..3f68404a17e8 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c @@ -428,7 +428,8 @@ static int drbd_finish_peer_reqs(struct drbd_conf *mdev) return err; } -void _drbd_wait_ee_list_empty(struct drbd_conf *mdev, struct list_head *head) +static void _drbd_wait_ee_list_empty(struct drbd_conf *mdev, + struct list_head *head) { DEFINE_WAIT(wait); @@ -443,7 +444,8 @@ void _drbd_wait_ee_list_empty(struct drbd_conf *mdev, struct list_head *head) } } -void drbd_wait_ee_list_empty(struct drbd_conf *mdev, struct list_head *head) +static void drbd_wait_ee_list_empty(struct drbd_conf *mdev, + struct list_head *head) { spin_lock_irq(&mdev->tconn->req_lock); _drbd_wait_ee_list_empty(mdev, head); |