freezer,sched: Rewrite core freezer logic
[sfrench/cifs-2.6.git] / fs / nfs / file.c
index d2bcd4834c0e6857713aae58c3910d800594dd64..e8301a3727380dbf49ae321696eb989068e3ade2 100644 (file)
@@ -570,7 +570,8 @@ static vm_fault_t nfs_vm_page_mkwrite(struct vm_fault *vmf)
        }
 
        wait_on_bit_action(&NFS_I(inode)->flags, NFS_INO_INVALIDATING,
-                       nfs_wait_bit_killable, TASK_KILLABLE);
+                          nfs_wait_bit_killable,
+                          TASK_KILLABLE|TASK_FREEZABLE_UNSAFE);
 
        lock_page(page);
        mapping = page_file_mapping(page);