]> git.baikalelectronics.ru Git - kernel.git/commit
bdi: remove bdi_register_owner
authorChristoph Hellwig <hch@lst.de>
Mon, 4 May 2020 12:47:59 +0000 (14:47 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:15:13 +0000 (16:15 -0600)
commit3c5d202b55d3fa9106607f99cdd5044b02b5929b
treed87bffecd91741f528a5a3b7905662b0c79ff748
parenta5a6c66df6bf951007f434fad04d777289f00aa6
bdi: remove bdi_register_owner

Split out a new bdi_set_owner helper to set the owner, and move the policy
for creating the bdi name back into genhd.c, where it belongs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
include/linux/backing-dev.h
mm/backing-dev.c