projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libnvdimm: write blk label set
[deliverable/linux.git]
/
drivers
/
nvdimm
/
bus.c
diff --git
a/drivers/nvdimm/bus.c
b/drivers/nvdimm/bus.c
index fddc3f2a8f80cf9221a84b23f730dd98f65a518f..ca802702440e4f8f8f07f4a3f7cd8f75a9a61f55 100644
(file)
--- a/
drivers/nvdimm/bus.c
+++ b/
drivers/nvdimm/bus.c
@@
-155,6
+155,10
@@
static void nd_async_device_unregister(void *d, async_cookie_t cookie)
{
struct device *dev = d;
+ /* flush bus operations before delete */
+ nvdimm_bus_lock(dev);
+ nvdimm_bus_unlock(dev);
+
device_unregister(dev);
put_device(dev);
}
This page took
0.028869 seconds
and
5
git commands to generate.