OSDN Git Service

bdi: move bdi_dev_name out of line
authorChristoph Hellwig <hch@lst.de>
Mon, 4 May 2020 12:47:54 +0000 (14:47 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 May 2020 14:45:47 +0000 (08:45 -0600)
commiteb7ae5e06bb6e6ac6bb86872d27c43ebab92f6b2
treed2726b692caa1e25c4339794e71e1cb132462b53
parent156c75737255b8db0aa887abcb66b709856cf453
bdi: move bdi_dev_name out of line

bdi_dev_name is not a fast path function, move it out of line.  This
prepares for using it from modular callers without having to export
an implementation detail like bdi_unknown_name.

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>
include/linux/backing-dev.h
mm/backing-dev.c