diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2010-02-22 21:39:32 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 20:37:10 +0300 |
commit | 75c0b84d41c6f08c0cb083464907005683ef2920 (patch) | |
tree | f1a997c8c2a583551afc2e733e0df815d3c9bc91 /drivers/mtd/mtd_blkdevs.c | |
parent | 298304f1a554d44cf13391e531ced3cde69a8ce4 (diff) | |
download | linux-75c0b84d41c6f08c0cb083464907005683ef2920.tar.xz |
mtd: call the remove notifiers before assuming it is in use
Now that mtd block common layer is prepared for proper hotplug support,
enable it here
Now all users of the mtd device have a chance to put the mtd device
when they are notified to do so, and they have to do so to make hotplug work.
[dwmw2: There's more work to be done to fix hotplug in the general case, but
this is a reasonable start]
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/mtd_blkdevs.c')
0 files changed, 0 insertions, 0 deletions