]> err.no Git - linux-2.6/blobdiff - fs/xfs/linux-2.6/xfs_buf.c
/home/lenb/src/to-linus branch 'acpi-2.6.12'
[linux-2.6] / fs / xfs / linux-2.6 / xfs_buf.c
index c60e69431e11d746abc9b41d3c525c0ac65116d7..df0cba239dd589b2ac7b9fbb90aa0909190a5ac3 100644 (file)
@@ -1771,9 +1771,9 @@ xfsbufd(
 
        INIT_LIST_HEAD(&tmp);
        do {
-               if (unlikely(current->flags & PF_FREEZE)) {
+               if (unlikely(freezing(current))) {
                        xfsbufd_force_sleep = 1;
-                       refrigerator(PF_FREEZE);
+                       refrigerator();
                } else {
                        xfsbufd_force_sleep = 0;
                }