summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-12 10:42:21 -0500
committerMike Blumenkrantz <zmike@samsung.com>2013-12-12 10:43:30 -0500
commitec484b131725a6eb962e22ea9d3f0070e256975c (patch)
treeae0a4fa107761f220d96d5ce215fad0f007bdf17 /src/bin
parent07347198c6b85539bc563d35cd7a86106f6729c7 (diff)
downloadenlightenment-ec484b131725a6eb962e22ea9d3f0070e256975c.tar.gz
force unmount/eject on udisks2 filesystem removal, also remove undocumented fixme from seb
T432, T398
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/e_fm/e_fm_main_udisks2.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bin/e_fm/e_fm_main_udisks2.c b/src/bin/e_fm/e_fm_main_udisks2.c
index a79437f177..2a10a6ff54 100644
--- a/src/bin/e_fm/e_fm_main_udisks2.c
+++ b/src/bin/e_fm/e_fm_main_udisks2.c
@@ -560,10 +560,14 @@ _e_fm_main_udisks2_cb_dev_del(void *data __UNUSED__, const Eldbus_Message *msg)
}
if (vol)
{
- /* TODO: Fix here: T432, T398, T380 */
v = _volume_find_by_dbus_path(path);
- if (v && (!v->mounted))
+ if (v)
{
+ if (v->mounted)
+ {
+ v->optype = E_VOLUME_OP_TYPE_EJECT;
+ _e_fm_main_udisks2_cb_vol_unmounted(v);
+ }
if (v->optype == E_VOLUME_OP_TYPE_EJECT)
_e_fm_main_udisks2_cb_vol_ejected(v);
_volume_del(v);