summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-04-06 17:18:29 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:45:11 +0100
commite0ab6ad4bcd0cbe6c6cfe90836352c8daf078509 (patch)
treee62916899774e9d5cf484c8d4bda5962344a95bd /drivers/block
parent2735a59467ad84b14bb43185702c0bab352126c0 (diff)
downloadlinux-stable-e0ab6ad4bcd0cbe6c6cfe90836352c8daf078509.tar.gz
linux-stable-e0ab6ad4bcd0cbe6c6cfe90836352c8daf078509.tar.bz2
linux-stable-e0ab6ad4bcd0cbe6c6cfe90836352c8daf078509.zip
drbd: drbd_init_ee() no longer exists
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/drbd/drbd_main.c4
-rw-r--r--drivers/block/drbd/drbd_receiver.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c
index e1aef12e5091..4f451b978cf3 100644
--- a/drivers/block/drbd/drbd_main.c
+++ b/drivers/block/drbd/drbd_main.c
@@ -2031,10 +2031,6 @@ void drbd_mdev_cleanup(struct drbd_conf *mdev)
drbd_free_resources(mdev);
clear_bit(AL_SUSPENDED, &mdev->flags);
- /*
- * currently we drbd_init_ee only on module load, so
- * we may do drbd_release_ee only on module unload!
- */
D_ASSERT(list_empty(&mdev->active_ee));
D_ASSERT(list_empty(&mdev->sync_ee));
D_ASSERT(list_empty(&mdev->done_ee));
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c
index b2782b0c7d8f..2c157257a035 100644
--- a/drivers/block/drbd/drbd_receiver.c
+++ b/drivers/block/drbd/drbd_receiver.c
@@ -309,7 +309,6 @@ You need to hold the req_lock:
You must not have the req_lock:
drbd_free_ee()
drbd_alloc_ee()
- drbd_init_ee()
drbd_release_ee()
drbd_ee_fix_bhs()
drbd_process_done_ee()