summaryrefslogtreecommitdiff
path: root/kernel/power/tuxonice_highlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/tuxonice_highlevel.c')
-rw-r--r--kernel/power/tuxonice_highlevel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/power/tuxonice_highlevel.c b/kernel/power/tuxonice_highlevel.c
index 1ef1f22b7..13bb93811 100644
--- a/kernel/power/tuxonice_highlevel.c
+++ b/kernel/power/tuxonice_highlevel.c
@@ -161,7 +161,6 @@ void toi_finish_anything(int hibernate_or_resume)
toi_alloc_print_debug_stats();
atomic_inc(&snapshot_device_available);
unlock_system_sleep();
- release_super_lock();
}
set_fs(oldfs);
@@ -186,7 +185,6 @@ int toi_start_anything(int hibernate_or_resume)
toi_trace_index = 0;
if (hibernate_or_resume) {
- take_super_lock();
lock_system_sleep();
if (!atomic_add_unless(&snapshot_device_available, -1, 0))