diff options
Diffstat (limited to 'fs/jfs/jfs_logmgr.c')
| -rw-r--r-- | fs/jfs/jfs_logmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c index 7c8387ed4192..79d07624bfe1 100644 --- a/fs/jfs/jfs_logmgr.c +++ b/fs/jfs/jfs_logmgr.c | |||
| @@ -2359,9 +2359,9 @@ int jfsIOWait(void *arg) | |||
| 2359 | lbmStartIO(bp); | 2359 | lbmStartIO(bp); |
| 2360 | spin_lock_irq(&log_redrive_lock); | 2360 | spin_lock_irq(&log_redrive_lock); |
| 2361 | } | 2361 | } |
| 2362 | if (current->flags & PF_FREEZE) { | 2362 | if (freezing(current)) { |
| 2363 | spin_unlock_irq(&log_redrive_lock); | 2363 | spin_unlock_irq(&log_redrive_lock); |
| 2364 | refrigerator(PF_FREEZE); | 2364 | refrigerator(); |
| 2365 | } else { | 2365 | } else { |
| 2366 | add_wait_queue(&jfs_IO_thread_wait, &wq); | 2366 | add_wait_queue(&jfs_IO_thread_wait, &wq); |
| 2367 | set_current_state(TASK_INTERRUPTIBLE); | 2367 | set_current_state(TASK_INTERRUPTIBLE); |
