[PATCH] IB/core: use correct gfp_mask in sa_query
authorMichael S. Tsirkin <[email protected]>
Fri, 14 Jul 2006 07:23:56 +0000 (00:23 -0700)
committerLinus Torvalds <[email protected]>
Sat, 15 Jul 2006 04:53:51 +0000 (21:53 -0700)
commite322fedf0c59938716cdfbafbe364a170919aa1a
tree98bdffab22bf058dc952ec4775b0cd58ecef928b
parentadfaa888a292e7f38fb43668d8994f246e371f0f
[PATCH] IB/core: use correct gfp_mask in sa_query

Avoid bogus out of memory errors: fix sa_query to actually pass gfp_mask
supplied by the user to idr_pre_get.

Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: "Sean Hefty" <[email protected]>
Acked-by: "Roland Dreier" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/infiniband/core/sa_query.c