diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2014-02-27 20:49:54 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-07-10 18:34:58 +0200 |
commit | caa3db0e14cc301f07e758f4cadc36d4dead145a (patch) | |
tree | 5e0fafd49d110cb48525cac0b0739b76cbf320bf /drivers/block/drbd/drbd_int.h | |
parent | 8ce953aa39e2bfd66036a27abdf761c2cb93f02c (diff) | |
download | blackbird-op-linux-caa3db0e14cc301f07e758f4cadc36d4dead145a.tar.gz blackbird-op-linux-caa3db0e14cc301f07e758f4cadc36d4dead145a.zip |
drbd: Remove unnecessary/unused code
Get rid of dump_stack() debug statements.
There is no point whatsoever in registering and unregistering a reboot
notifier that doesn't do anything.
The intention was to switch to an "emergency read-only" mode,
so we won't have to resync the full activity log just because
we had been Primary before the reboot.
Once we have that implemented, we may re-introduce the reboot notifier.
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_int.h')
-rw-r--r-- | drivers/block/drbd/drbd_int.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index 72b500176083..e306a22a60f1 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h @@ -1468,7 +1468,6 @@ static inline void drbd_generic_make_request(struct drbd_device *device, printk(KERN_ERR "drbd%d: drbd_generic_make_request: " "bio->bi_bdev == NULL\n", device_to_minor(device)); - dump_stack(); bio_endio(bio, -ENODEV); return; } |