xbmc/xbmc — pull request #1849 by fritsch (2012-11-26 08:44:29+00:00)
Title: fix: only remount optical disks on device change

This should fix secure removal of usb thumb drives.

For the history:
In order to fix http://trac.xbmc.org/ticket/13449 which was introduced by https://github.com/xbmc/xbmc/commit/03edbe498bcdf285b2285bcc68f075f2cdfa2cc3 to fix http://trac.xbmc.org/ticket/11184

I ported over the openelec workaround from here: https://github.com/OpenELEC/OpenELEC.tv/blob/2c7ebd624682e10cc247f68aab6184d90c70ae5e/packages/mediacenter/xbmc/patches/xbmc-11.0.1-984-do-not-remount-non-optical-devices-in-DeviceChanged-event.patch