summaryrefslogtreecommitdiff
path: root/src
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
parent07347198c6b85539bc563d35cd7a86106f6729c7 (diff)
force unmount/eject on udisks2 filesystem removal, also remove undocumented fixme from seb
T432, T398
Diffstat (limited to 'src')
-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 a79437f17..2a10a6ff5 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)
560 } 560 }
561 if (vol) 561 if (vol)
562 { 562 {
563 /* TODO: Fix here: T432, T398, T380 */
564 v = _volume_find_by_dbus_path(path); 563 v = _volume_find_by_dbus_path(path);
565 if (v && (!v->mounted)) 564 if (v)
566 { 565 {
566 if (v->mounted)
567 {
568 v->optype = E_VOLUME_OP_TYPE_EJECT;
569 _e_fm_main_udisks2_cb_vol_unmounted(v);
570 }
567 if (v->optype == E_VOLUME_OP_TYPE_EJECT) 571 if (v->optype == E_VOLUME_OP_TYPE_EJECT)
568 _e_fm_main_udisks2_cb_vol_ejected(v); 572 _e_fm_main_udisks2_cb_vol_ejected(v);
569 _volume_del(v); 573 _volume_del(v);