[PATCH] IB/core: use correct gfp_mask in sa_query
authorMichael S. Tsirkin <mst@mellanox.co.il>
Fri, 14 Jul 2006 07:23:56 +0000 (00:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
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 <mst@mellanox.co.il>
Acked-by: "Sean Hefty" <mshefty@ichips.intel.com>
Acked-by: "Roland Dreier" <rdreier@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/core/sa_query.c