diff options
author | Jan Kara <jack@suse.cz> | 2017-04-12 12:24:37 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-20 12:09:55 -0600 |
commit | fa06052d637bf3a76f18cd2304048b866af4096e (patch) | |
tree | 7516fc2e1008907e50a7f860d3f21aee65638223 /fs/hpfs/dir.c | |
parent | edd3ba94c4e5ef6ec045d5730d365d557fb54f98 (diff) | |
download | op-kernel-dev-fa06052d637bf3a76f18cd2304048b866af4096e.zip op-kernel-dev-fa06052d637bf3a76f18cd2304048b866af4096e.tar.gz |
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>
Diffstat (limited to 'fs/hpfs/dir.c')
0 files changed, 0 insertions, 0 deletions