diff options
Diffstat (limited to 'net/rds/ib_recv.c')
-rw-r--r-- | net/rds/ib_recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index 3afdcbdd06b4..ed9b41e3b277 100644 --- a/net/rds/ib_recv.c +++ b/net/rds/ib_recv.c | |||
@@ -379,7 +379,7 @@ void rds_ib_recv_refill(struct rds_connection *conn, int prefill, gfp_t gfp) | |||
379 | struct ib_recv_wr *failed_wr; | 379 | struct ib_recv_wr *failed_wr; |
380 | unsigned int posted = 0; | 380 | unsigned int posted = 0; |
381 | int ret = 0; | 381 | int ret = 0; |
382 | int can_wait = gfp & __GFP_WAIT; | 382 | bool can_wait = !!(gfp & __GFP_WAIT); |
383 | u32 pos; | 383 | u32 pos; |
384 | 384 | ||
385 | /* the goal here is to just make sure that someone, somewhere | 385 | /* the goal here is to just make sure that someone, somewhere |