freezer: unexport refrigerator() and update try_to_freeze() slightly
[deliverable/linux.git] / fs / jfs / jfs_logmgr.c
index 583636f745e59dbe7e66e1b3871496ac3b29a63d..2eb952c41a69da5f23314e6d3a9a3012692b3b76 100644 (file)
@@ -67,6 +67,7 @@
 #include <linux/buffer_head.h>         /* for sync_blockdev() */
 #include <linux/bio.h>
 #include <linux/freezer.h>
+#include <linux/export.h>
 #include <linux/delay.h>
 #include <linux/mutex.h>
 #include <linux/seq_file.h>
@@ -2348,7 +2349,7 @@ int jfsIOWait(void *arg)
 
                if (freezing(current)) {
                        spin_unlock_irq(&log_redrive_lock);
-                       refrigerator();
+                       try_to_freeze();
                } else {
                        set_current_state(TASK_INTERRUPTIBLE);
                        spin_unlock_irq(&log_redrive_lock);
This page took 0.024983 seconds and 5 git commands to generate.