|
@@ -379,7 +379,7 @@ void rds_ib_recv_refill(struct rds_connection *conn, int prefill, gfp_t gfp)
|
|
struct ib_recv_wr *failed_wr;
|
|
struct ib_recv_wr *failed_wr;
|
|
unsigned int posted = 0;
|
|
unsigned int posted = 0;
|
|
int ret = 0;
|
|
int ret = 0;
|
|
- int can_wait = gfp & __GFP_WAIT;
|
|
|
|
|
|
+ bool can_wait = !!(gfp & __GFP_WAIT);
|
|
u32 pos;
|
|
u32 pos;
|
|
|
|
|
|
/* the goal here is to just make sure that someone, somewhere
|
|
/* the goal here is to just make sure that someone, somewhere
|