Jan Kara fa06052d63 mtd: Convert to dynamically allocated bdi infrastructure
MTD already allocates backing_dev_info dynamically. Convert it to use
generic infrastructure for this including proper refcounting. We drop
mtd->backing_dev_info as its only use was to pass mtd_bdi pointer from
one file into another and if we wanted to keep that in a clean way, we'd
have to make mtd hold and drop bdi reference as needed which seems
pointless for passing one global pointer...

CC: David Woodhouse <dwmw2@infradead.org>
CC: Brian Norris <computersforpeace@gmail.com>
CC: linux-mtd@lists.infradead.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-20 12:09:55 -06:00
..
2015-05-27 12:42:16 -07:00
2016-01-26 10:27:33 -08:00
2014-01-20 11:55:23 -08:00
2016-01-26 10:27:34 -08:00
2014-05-28 00:05:23 -07:00
2013-04-05 13:02:40 +01:00
2013-04-05 13:02:33 +01:00
2014-04-18 16:40:08 -07:00