mtd: ensure that bdi entries are properly initialized and registered
authorJens Axboe <jens.axboe@oracle.com>
Tue, 27 Apr 2010 07:49:47 +0000 (09:49 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 27 Apr 2010 07:51:30 +0000 (09:51 +0200)
commit0661b1ac5d48eb47c8a5948c0554fea25e0895ab
tree18040417cbfb33b82486576dbc5783dc50e60d4c
parenta33eb6b91034c95b9b08576f68be170f995b2c7d
mtd: ensure that bdi entries are properly initialized and registered

They will be holding dirty inodes and be responsible for flushing
them out, so they need to be setup properly.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/mtd/mtdcore.c