diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2013-12-12 10:42:21 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2013-12-12 10:43:30 -0500 |
commit | ec484b131725a6eb962e22ea9d3f0070e256975c (patch) | |
tree | ae0a4fa107761f220d96d5ce215fad0f007bdf17 /src/bin | |
parent | 07347198c6b85539bc563d35cd7a86106f6729c7 (diff) | |
download | enlightenment-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.c | 8 |
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); |