mempool: add @gfp_mask to mempool_create_node()
commita91a5ac6858fbf7477131e1210cb3e897b668e6f
authorTejun Heo <tj@kernel.org>
Tue, 5 Jun 2012 03:40:53 +0000 (4 20:40 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jun 2012 09:53:47 +0000 (25 11:53 +0200)
tree01ff0eff5088efc3459cf139e349414e35068493
parent159749937a3e1605068a454b1607cdc5714f16e6
mempool: add @gfp_mask to mempool_create_node()

mempool_create_node() currently assumes %GFP_KERNEL.  Its only user,
blk_init_free_list(), is about to be updated to use other allocation
flags - add @gfp_mask argument to the function.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
include/linux/mempool.h
mm/mempool.c