Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / fs / nfs / file.c
index e032fe201a367421cd2831671174173f2cb151b5..e0b205b639865c15c8e74fc3d901efb5f97e1553 100644 (file)
@@ -567,7 +567,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);