drbd: drbd_init_ee() no longer exists
authorAndreas Gruenbacher <agruen@linbit.com>
Wed, 6 Apr 2011 15:18:29 +0000 (17:18 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:45:11 +0000 (16:45 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_receiver.c

index e1aef12e5091f3aa0a25273af39b4c42707a3cec..4f451b978cf3348c6ae84b5d02ae772228f0f210 100644 (file)
@@ -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));
index b2782b0c7d8f2c93010c7f71a022a98493721841..2c157257a03597a5e3a1ceaa68279ad4e09a68a2 100644 (file)
@@ -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()