]> git.karo-electronics.de Git - karo-tx-linux.git/commit
writeback: add @gfp to wb_init()
authorTejun Heo <tj@kernel.org>
Fri, 22 May 2015 21:13:34 +0000 (17:13 -0400)
committerJens Axboe <axboe@fb.com>
Tue, 2 Jun 2015 14:33:35 +0000 (08:33 -0600)
commit8395cd9f813d5d7ed9870e642230acfcfc1e8a0a
tree0257c02cee5027ccad0fed3e3c9ffb30f1bb1067
parenta212b105b07d75b48b1a166378282e8a77fbf53d
writeback: add @gfp to wb_init()

wb_init() currently always uses GFP_KERNEL but the planned cgroup
writeback support needs using other allocation masks.  Add @gfp to
wb_init().

This patch doesn't introduce any behavior changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jens Axboe <axboe@fb.com>
mm/backing-dev.c