projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
infiniband
/
core
/
sa_query.c
diff --git
a/drivers/infiniband/core/sa_query.c
b/drivers/infiniband/core/sa_query.c
index 8c014b33d8e0a5bc97e6e2408b3ded37ddfd06c2..59ab264c99c4f4a87c92cf654f14cc0806539cd6 100644
(file)
--- a/
drivers/infiniband/core/sa_query.c
+++ b/
drivers/infiniband/core/sa_query.c
@@
-1083,7
+1083,7
@@
static void init_mad(struct ib_sa_mad *mad, struct ib_mad_agent *agent)
static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask)
{
- bool preload =
!!(gfp_mask & __GFP_WAIT
);
+ bool preload =
gfpflags_allow_blocking(gfp_mask
);
unsigned long flags;
int ret, id;