xfs: abstract PF_FSTRANS to PF_MEMALLOC_NOFS
[linux-block.git] / include / linux / sched.h
index 3d4fa448223fd60f0af37f3b6b274483593af468..8ac11465ac5b56d7e895ee31fff83e4b5c85ec8d 100644 (file)
@@ -1237,6 +1237,8 @@ extern struct pid *cad_pid;
 #define PF_FREEZER_SKIP                0x40000000      /* Freezer should not count it as freezable */
 #define PF_SUSPEND_TASK                0x80000000      /* This thread called freeze_processes() and should not be frozen */
 
+#define PF_MEMALLOC_NOFS PF_FSTRANS    /* Transition to a more generic GFP_NOFS scope semantic */
+
 /*
  * Only the _current_ task can read/write to tsk->flags, but other
  * tasks can access tsk->flags in readonly mode for example