bdi: Provide bdi_register_va() and bdi_alloc()
authorJan Kara <jack@suse.cz>
Wed, 12 Apr 2017 10:24:25 +0000 (12:24 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 20 Apr 2017 18:09:55 +0000 (12:09 -0600)
commitbaf7a616d537f577d33b7d9986f40532e2bd9f66
tree3eaedfef1afdc00ab57824802669d0f3f5a70d5e
parent2bc19cd5fdb5ff2c681761e81cc9044eb2ee753a
bdi: Provide bdi_register_va() and bdi_alloc()

Add function that registers bdi and takes va_list instead of variable
number of arguments.

Add bdi_alloc() as simple wrapper for NUMA-unaware users allocating BDI.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/backing-dev.h
mm/backing-dev.c