diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-04-06 18:06:56 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 10:45:14 -0500 |
commit | d4da15374ba52009801d4c37c6dae0ba6ec0fca5 (patch) | |
tree | 2d840b0600e0d05ee03d5e40461f9db6162f2418 /drivers/block/drbd/drbd_receiver.c | |
parent | 045417f75c718a4ac97fd44106b8aafcbca5a6da (diff) |
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) | |||
428 | return err; | 428 | return err; |
429 | } | 429 | } |
430 | 430 | ||
431 | void _drbd_wait_ee_list_empty(struct drbd_conf *mdev, struct list_head *head) | 431 | static void _drbd_wait_ee_list_empty(struct drbd_conf *mdev, |
432 | struct list_head *head) | ||
432 | { | 433 | { |
433 | DEFINE_WAIT(wait); | 434 | DEFINE_WAIT(wait); |
434 | 435 | ||
@@ -443,7 +444,8 @@ void _drbd_wait_ee_list_empty(struct drbd_conf *mdev, struct list_head *head) | |||
443 | } | 444 | } |
444 | } | 445 | } |
445 | 446 | ||
446 | void drbd_wait_ee_list_empty(struct drbd_conf *mdev, struct list_head *head) | 447 | static void drbd_wait_ee_list_empty(struct drbd_conf *mdev, |
448 | struct list_head *head) | ||
447 | { | 449 | { |
448 | spin_lock_irq(&mdev->tconn->req_lock); | 450 | spin_lock_irq(&mdev->tconn->req_lock); |
449 | _drbd_wait_ee_list_empty(mdev, head); | 451 | _drbd_wait_ee_list_empty(mdev, head); |