OSDN Git Service

bdi: remove the name field in struct backing_dev_info
authorChristoph Hellwig <hch@lst.de>
Mon, 4 May 2020 12:48:01 +0000 (14:48 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:15:13 +0000 (16:15 -0600)
commit1cd925d583857ee3ead6cfbf1e4b1cd067d28591
tree3fac6cb4f5e1aec1c9d53217e800f472f30af294
parentaef33c2ff8aa5e24f3f7d93806aa84ca1c2b6832
bdi: remove the name field in struct backing_dev_info

The name is only printed for a not registered bdi in writeback.  Use the
device name there as is more useful anyway for the unlike case that the
warning triggers.

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/blk-core.c
drivers/mtd/mtdcore.c
fs/fs-writeback.c
fs/super.c
include/linux/backing-dev-defs.h
mm/backing-dev.c