mm/z3fold.c: use gfpflags_allow_blocking
commit8a97ea546bb6532f77a0efe165012ee0d0c4b903
authorMatthew Wilcox <mawilcox@microsoft.com>
Tue, 10 Apr 2018 23:29:37 +0000 (10 16:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Apr 2018 17:28:31 +0000 (11 10:28 -0700)
tree9252baf2fa28f0217c4791f1c41e9f51dd7a08ce
parent1ec6995d1290bfb87cc3a51f0836c889e857cef9
mm/z3fold.c: use gfpflags_allow_blocking

We have a perfectly good macro to determine whether the gfp flags allow
you to sleep or not; use it instead of trying to infer it.

Link: http://lkml.kernel.org/r/20180408062206.GC16007@bombadil.infradead.org
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/z3fold.c