]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd5d706849ab3bf95adefd9168854a2038b96a985
treed2726b692caa1e25c4339794e71e1cb132462b53
parent2f53131cf7ed767e1ad451026f4fe0d742a9df00
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